summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--event.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/event.c b/event.c
index 75c3fa0..c679f9c 100644
--- a/event.c
+++ b/event.c
@@ -270,8 +270,11 @@ static void
270leavenotify(XEvent *e) { 270leavenotify(XEvent *e) {
271 XCrossingEvent *ev = &e->xcrossing; 271 XCrossingEvent *ev = &e->xcrossing;
272 272
273 if((ev->window == root) && !ev->same_screen) 273 if((ev->window == root) && !ev->same_screen) {
274 issel = False; 274 issel = False;
275 if(sel)
276 XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]);
277 }
275} 278}
276 279
277static void 280static void