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))) {
href='/akspecs/aerc/blame/widgets/account.go?h=0.1.3&id=b76deea9635d56bfa740127683e43bf817f5e3be'>^
648ca98 ^
c286d3d ^

0911cd5 ^
648ca98 ^

c286d3d ^

0911cd5 ^
c286d3d ^


648ca98 ^










c286d3d ^
b76deea ^


b76deea ^
c286d3d ^





b76deea ^
0911cd5 ^

c286d3d ^





0911cd5 ^













b76deea ^
0911cd5 ^




c286d3d ^
0911cd5 ^



b76deea ^
c286d3d ^
0911cd5 ^





c286d3d ^
b76deea ^
0911cd5 ^
648ca98 ^


b76deea ^


648ca98 ^








c286d3d ^























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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138