deciding for focus(NULL); - dwm - dynamic window manager HTML git clone https://git.parazyd.org/dwm DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 1e051d71f509ce0c658170e936896b58b9065f90 DIR parent ddc79603f937c9019c483cd2b41a4eaa2ea34240 HTML Author: Anselm R. Garbe <arg@suckless.org> Date: Fri, 19 Jan 2007 15:01:51 +0100 deciding for focus(NULL); Diffstat: M event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git 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; } }