diff -r 71f02d14dce1 -r ec8a66a2b9cc tag.c --- a/tag.c Wed Aug 16 15:57:36 2006 +0200 +++ b/tag.c Wed Aug 16 17:56:04 2006 +0200 @@ -49,12 +49,11 @@ } if(!sel || !isvisible(sel)) sel = getnext(clients); - if(sel) { + if(sel) focus(sel); - restack(); - } else XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); + restack(); } void