diff -r 163fdca8f064 -r c3c57faef013 event.c --- a/event.c Fri Jan 19 15:01:51 2007 +0100 +++ b/event.c Fri Jan 19 15:05:07 2007 +0100 @@ -234,9 +234,7 @@ focus(c); else if(ev->window == root) { issel = True; - XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); - if(sel) - focus(sel); + focus(sel); } } @@ -273,8 +271,7 @@ XCrossingEvent *ev = &e->xcrossing; if((ev->window == root) && !ev->same_screen) { - if(sel) - focus(NULL); + focus(NULL); issel = False; } }