JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
I think this is the best solution of multihead support
[dwm.git] / event.c
diff --git a/event.c b/event.c
index 2e021d5..c913320 100644 (file)
--- a/event.c
+++ b/event.c
@@ -270,7 +270,7 @@ leavenotify(XEvent *e) {
 
        if((ev->window == root) && !ev->same_screen) {
                issel = False;
-               focus(sel);
+               focus(NULL);
        }
 }