equal
deleted
inserted
replaced
271 static void |
271 static void |
272 leavenotify(XEvent *e) { |
272 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 if(sel) |
|
277 focus(NULL); |
276 issel = False; |
278 issel = False; |
277 if(sel) |
|
278 XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]); |
|
279 } |
279 } |
280 } |
280 } |
281 |
281 |
282 static void |
282 static void |
283 mappingnotify(XEvent *e) { |
283 mappingnotify(XEvent *e) { |