JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied Jukkas patch
[dwm.git] / event.c
diff --git a/event.c b/event.c
index 6b15950..8eaff1a 100644 (file)
--- a/event.c
+++ b/event.c
@@ -244,7 +244,7 @@ enternotify(XEvent *e) {
 
        if(ev->mode != NotifyNormal || ev->detail == NotifyInferior)
                return;
-       if(c = getclient(ev->window))
+       if((c = getclient(ev->window)))
                focus(c);
        else if(ev->window == root) {
                selscreen = True;