diff options
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -270,8 +270,11 @@ static void leavenotify(XEvent *e) { XCrossingEvent *ev = &e->xcrossing; - if((ev->window == root) && !ev->same_screen) + if((ev->window == root) && !ev->same_screen) { issel = False; + if(sel) + XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]); + } } static void |