From: Anselm R. Garbe Date: Fri, 19 Jan 2007 14:01:51 +0000 (+0100) Subject: deciding for focus(NULL); X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=1e051d71f509ce0c658170e936896b58b9065f90;p=suckless%2Fdwm.git deciding for focus(NULL); --- diff --git a/event.c b/event.c index a5e75ca..20ab599 100644 --- a/event.c +++ b/event.c @@ -273,9 +273,9 @@ leavenotify(XEvent *e) { XCrossingEvent *ev = &e->xcrossing; if((ev->window == root) && !ev->same_screen) { - issel = False; if(sel) - XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]); + focus(NULL); + issel = False; } }