about summary refs log tree commit diff stats
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
parentc8e57332d1a5167d213af0fc9438ff2b56c74fbb (diff)
downloaddwm-d9c475d7f4978f97b63b462425eb413c11fe337b.tar.gz
Button3 click on mode label toggles stack position now
Diffstat (limited to 'event.c')
-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) {
 		if(ev->x < x + bmw) {
 			if(ev->button == Button1)
 				togglemode(NULL);
+			else if(ev->button == Button3)
+				togglestackpos(NULL);
 		}
 	}
 	else if((c = getclient(ev->window))) {