aewl
changeset 706:163fdca8f064
deciding for focus(NULL);
author | Anselm R. Garbe <arg@suckless.org> |
---|---|
date | Fri, 19 Jan 2007 15:01:51 +0100 |
parents | 1e571a8c7552 |
children | c3c57faef013 |
files | event.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/event.c Fri Jan 19 14:38:09 2007 +0100 1.2 +++ b/event.c Fri Jan 19 15:01:51 2007 +0100 1.3 @@ -273,9 +273,9 @@ 1.4 XCrossingEvent *ev = &e->xcrossing; 1.5 1.6 if((ev->window == root) && !ev->same_screen) { 1.7 + if(sel) 1.8 + focus(NULL); 1.9 issel = False; 1.10 - if(sel) 1.11 - XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]); 1.12 } 1.13 } 1.14