summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-10-05 09:37:11 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-10-05 09:37:11 +0200
commitd9c475d7f4978f97b63b462425eb413c11fe337b (patch)
tree217b111bc4b45daf7a676f779697310b893d167e /event.c
parentapplied dave's highlight patch for big fonts (diff)
downloaddwm-d9c475d7f4978f97b63b462425eb413c11fe337b.tar.gz
dwm-d9c475d7f4978f97b63b462425eb413c11fe337b.zip
Button3 click on mode label toggles stack position now
Diffstat (limited to '')
-rw-r--r--event.c2
1 files changed, 2 insertions, 0 deletions
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))) {