JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied Sanders focus_* patches, removed the unnecessary clean-prefix from the new...
[dwm.git] / event.c
diff --git a/event.c b/event.c
index 5209be3..c2288f4 100644 (file)
--- a/event.c
+++ b/event.c
@@ -119,6 +119,8 @@ buttonpress(XEvent *e)
        }
        else if((c = getclient(ev->window))) {
                focus(c);
+               if(CLEANMASK(ev->state) == 0)
+                       return;
                switch(ev->button) {
                default:
                        break;