about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--dwm.15
-rw-r--r--event.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/dwm.1 b/dwm.1
index f105dd7..bce6733 100644
--- a/dwm.1
+++ b/dwm.1
@@ -40,7 +40,8 @@ click on a tag label to display all windows with that tag, click on the mode
 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 @@ Focus previous window.
 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).
diff --git a/event.c b/event.c
index 83e1b86..a17034c 100644
--- a/event.c
+++ b/event.c
@@ -126,6 +126,8 @@ buttonpress(XEvent *e) {
 		if(ev->x < x + bmw) {
 			if(ev->button == Button1)
 				togglemode(NULL);
+			else if(ev->button == Button3)
+				togglestackpos(NULL);
 		}
 	}
 	else if((c = getclient(ev->window))) {
tik.com> 2015-07-28 14:33:22 -0700 1868 - start using naked literals everywhere' href='/akkartik/mu/commit/062array.mu?h=hlt&id=bc6436927640603675e2e700007f53c5ab213869'>bc643692 ^
9636c7ae ^

08f4628e ^
502d2ea5 ^

9636c7ae ^

455fbac6 ^
9636c7ae ^
bc643692 ^
9636c7ae ^

502d2ea5 ^

08f4628e ^
502d2ea5 ^
991d76f3 ^
502d2ea5 ^
9636c7ae ^

1ead3562 ^
9636c7ae ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40