Mercurial > 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 wrap: on
line diff
--- a/event.c Fri Jan 19 14:38:09 2007 +0100 +++ b/event.c Fri Jan 19 15:01:51 2007 +0100 @@ -273,9 +273,9 @@ XCrossingEvent *ev = &e->xcrossing; if((ev->window == root) && !ev->same_screen) { + if(sel) + focus(NULL); issel = False; - if(sel) - XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]); } }