JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied sanders focus_ patches
[dwm.git] / event.c
diff --git a/event.c b/event.c
index 1d2227d..c7a0b15 100644 (file)
--- a/event.c
+++ b/event.c
@@ -123,7 +123,7 @@ buttonpress(XEvent *e)
        }
        else if((c = getclient(ev->window))) {
                focus(c);
-               if(CLEANMASK(ev->state) == 0)
+               if(CLEANMASK(ev->state) != MODKEY)
                        return;
                switch(ev->button) {
                default: