Button3 click on mode label toggles stack position now
authorAnselm R. Garbe <arg@10kloc.org>
Thu, 05 Oct 2006 09:37:11 +0200
changeset 520 834a77509a64
parent 519 6cad48068e4c
child 521 73afe7587bea
Button3 click on mode label toggles stack position now
dwm.1
event.c
--- a/dwm.1	Fri Sep 29 19:06:27 2006 +0200
+++ b/dwm.1	Thu Oct 05 09:37:11 2006 +0200
@@ -40,7 +40,8 @@
 label toggles between tiled and floating mode.
 .TP
 .B Button3
-click on a tag label adds/removes all windows with that tag to/from the view.
+click on a tag label adds/removes all windows with that tag to/from the view,
+click on the mode label toggles the stack position (tiled mode).
 .TP
 .B Mod1-Button1
 click on a tag label applies that tag to the focused window.
@@ -63,7 +64,7 @@
 Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode).
 .TP
 .B Mod1-b
-Toggle stacking area position (tiling mode only).
+Toggle stack position (tiling mode only).
 .TP
 .B Mod1-g
 Grow current area (tiling mode only).
--- a/event.c	Fri Sep 29 19:06:27 2006 +0200
+++ b/event.c	Thu Oct 05 09:37:11 2006 +0200
@@ -126,6 +126,8 @@
 		if(ev->x < x + bmw) {
 			if(ev->button == Button1)
 				togglemode(NULL);
+			else if(ev->button == Button3)
+				togglestackpos(NULL);
 		}
 	}
 	else if((c = getclient(ev->window))) {