summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
40label toggles between tiled and floating mode. 40label toggles between tiled and floating mode.
41.TP 41.TP
42.B Button3 42.B Button3
43click on a tag label adds/removes all windows with that tag to/from the view. 43click on a tag label adds/removes all windows with that tag to/from the view,
44click on the mode label toggles the stack position (tiled mode).
44.TP 45.TP
45.B Mod1-Button1 46.B Mod1-Button1
46click on a tag label applies that tag to the focused window. 47click on a tag label applies that tag to the focused window.
@@ -63,7 +64,7 @@ Focus previous window.
63Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode). 64Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode).
64.TP 65.TP
65.B Mod1-b 66.B Mod1-b
66Toggle stacking area position (tiling mode only). 67Toggle stack position (tiling mode only).
67.TP 68.TP
68.B Mod1-g 69.B Mod1-g
69Grow current area (tiling mode only). 70Grow 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) {
126 if(ev->x < x + bmw) { 126 if(ev->x < x + bmw) {
127 if(ev->button == Button1) 127 if(ev->button == Button1)
128 togglemode(NULL); 128 togglemode(NULL);
129 else if(ev->button == Button3)
130 togglestackpos(NULL);
129 } 131 }
130 } 132 }
131 else if((c = getclient(ev->window))) { 133 else if((c = getclient(ev->window))) {