X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=event.c;h=2e021d58271ae227e858e40611ef7ae2188a9531;hb=fcd98308ba65c8872b485ac7f1800841b0a29e5c;hp=e0718d3fb2ffe7b46223cbc24d33eae3dbfd4178;hpb=b233089815367983e07939b2aabb999fdc359f91;p=dwm.git diff --git a/event.c b/event.c index e0718d3..2e021d5 100644 --- a/event.c +++ b/event.c @@ -269,8 +269,8 @@ leavenotify(XEvent *e) { XCrossingEvent *ev = &e->xcrossing; if((ev->window == root) && !ev->same_screen) { - focus(NULL); issel = False; + focus(sel); } }