summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--event.c4
1 files changed, 2 insertions, 2 deletions
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) {
273 XCrossingEvent *ev = &e->xcrossing; 273 XCrossingEvent *ev = &e->xcrossing;
274 274
275 if((ev->window == root) && !ev->same_screen) { 275 if((ev->window == root) && !ev->same_screen) {
276 issel = False;
277 if(sel) 276 if(sel)
278 XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]); 277 focus(NULL);
278 issel = False;
279 } 279 }
280} 280}
281 281