[Pkg-wmaker-commits] [wmbubble] 185/207: Document support for more than just the first two mouse buttons

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 04:18:32 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmbubble.

commit 7ef8b62377971e5c33b91a67bc3e51737844af8c
Author: Robert Jacobs <rnjacobs at mit.edu>
Date:   Mon Dec 1 14:17:23 2014 -0800

    Document support for more than just the first two mouse buttons
---
 bubblemon.c |  4 ++--
 wmbubble.1  | 18 +++++++++++-------
 2 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/bubblemon.c b/bubblemon.c
index ba63111..9dfb442 100644
--- a/bubblemon.c
+++ b/bubblemon.c
@@ -321,7 +321,7 @@ void print_usage(void) {
 	char preformat[32];
 	int i;
 	printf("WMBubble version "VERSION"\n"
-	       "Usage: "NAME" [switches] [program_1] [program_2]\n\n"
+	       "Usage: "NAME" [switches] [program1] [program2] [...] [program(# of mouse buttons)]\n\n"
 	       "Permitted options are:\n");
 	for (i=0; i < sizeof(x_resource_unified) / sizeof(x_resource_unified[0]); i++) {
 		strncpy(preformat,x_resource_unified[i].option,32);
@@ -436,7 +436,7 @@ int main(int argc, char **argv) {
 			XNextEvent(wmxp_display,&event);
 			switch (event.type) {
 			case ButtonPress:
-				if (event.xbutton.button == 3) {
+				if (memscreen_enabled && event.xbutton.button == 3) {
 					bm.picture_lock = !bm.picture_lock;
 					break;
 				}
diff --git a/wmbubble.1 b/wmbubble.1
index cb85003..6e38776 100644
--- a/wmbubble.1
+++ b/wmbubble.1
@@ -1,4 +1,4 @@
-.TH WMBUBBLE 1 "February 9, 2012"
+.TH WMBUBBLE 1 "December 1, 2014"
 .\" Please adjust this date whenever revising the manpage.
 .\"
 .\" Some roff macros, for reference:
@@ -15,7 +15,7 @@
 wmbubble \- system load monitor
 .SH SYNOPSIS
 .B wmbubble
-.RI [ options ] " " [ program1 ] " " [ program2 ]
+.RI [ options ] " " [ program1 ] " " [ program2 ] " " [ ... ] " " [ programN ]
 .br
 .SH DESCRIPTION
 This manual page documents briefly the
@@ -39,11 +39,15 @@ usage. If you press the right mouse button, the window will freeze in
 that state. You can unfreeze the display by pressing the right mouse
 button again.
 .PP
-.B program1
-and
-.B program2
-are the programs to spawn when either the left or middle mouse button
-is pressed, respectively.
+\fBprogram1\fP, \fBprogram2\fP, and so on are the programs to spawn when
+various buttons on the mouse are pressed while the pointer is over the
+dockapp. For the vast majority of users, there can be up to 9 of those
+buttons, and in order they are: the left(1), middle(2), and right(3) mouse
+buttons; up(4), down(5), left(6), and right(7) on the mouse wheels; and
+the backwards(8) and forwards(9) mouse buttons.
+.PP
+Additionally, the right mouse button (\fBprogram3\fP) will only be executed
+if the graphs are disabled (otherwise that argument is ignored).
 .\"
 .SH OPTIONS
 .TP

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbubble.git



More information about the Pkg-wmaker-commits mailing list