tag.c
changeset 307 ec8a66a2b9cc
parent 306 71f02d14dce1
child 327 96d09fd98e89
equal deleted inserted replaced
306:71f02d14dce1 307:ec8a66a2b9cc
    47 		else
    47 		else
    48 			ban(c);
    48 			ban(c);
    49 	}
    49 	}
    50 	if(!sel || !isvisible(sel))
    50 	if(!sel || !isvisible(sel))
    51 		sel = getnext(clients);
    51 		sel = getnext(clients);
    52 	if(sel) {
    52 	if(sel)
    53 		focus(sel);
    53 		focus(sel);
    54 		restack();
       
    55 	}
       
    56 	else
    54 	else
    57 		XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
    55 		XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
       
    56 	restack();
    58 }
    57 }
    59 
    58 
    60 void
    59 void
    61 dotile(Arg *arg)
    60 dotile(Arg *arg)
    62 {
    61 {