JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
removed the stack position stuff
[dwm.git] / event.c
diff --git a/event.c b/event.c
index a17034c..eab9b12 100644 (file)
--- 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);