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 19:27:28 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-10-05 19:27:28 +0200
commit10885d349a8426f0a55f34e78a2592267e8e55be (patch)
tree6116c68fcc3ff6efbeb5c398d15e3ff5f2028930 /event.c
parent1c1d09f3e9eb18175f48bcc212d07684577ba4a6 (diff)
downloaddwm-10885d349a8426f0a55f34e78a2592267e8e55be.tar.gz
removed the stack position stuff
Diffstat (limited to 'event.c')
-rw-r--r--event.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/event.c b/event.c
index a17034c..eab9b12 100644
--- a/event.c
+++ b/event.c
@@ -123,12 +123,8 @@ buttonpress(XEvent *e) {
 				return;
 			}
 		}
-		if(ev->x < x + bmw) {
-			if(ev->button == Button1)
-				togglemode(NULL);
-			else if(ev->button == Button3)
-				togglestackpos(NULL);
-		}
+		if((ev->x < x + bmw) && (ev->button == Button1))
+			togglemode(NULL);
 	}
 	else if((c = getclient(ev->window))) {
 		focus(c);