changeset 701 | fc5b982778df |
parent 692 | 8d3720e06c89 |
child 704 | 6110b9efc299 |
--- a/event.c Wed Jan 17 12:36:29 2007 +0100 +++ b/event.c Thu Jan 18 11:11:40 2007 +0100 @@ -270,8 +270,11 @@ 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