X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/b233089815367983e07939b2aabb999fdc359f91..fcd98308ba65c8872b485ac7f1800841b0a29e5c:/event.c?ds=sidebyside 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); } }