X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=tag.c;h=cdb0f5242e5438ae29a6d1fa24e2ffe723a68274;hb=b43989207a949cbc17182b451aa527afe542c98f;hp=841d0fc5fac5ed2fc633f9cbb936a5cc3431360d;hpb=a20b10d01fab9e844ba7cd2cf694b45f61b89f7c;p=dwm.git diff --git a/tag.c b/tag.c index 841d0fc..cdb0f52 100644 --- a/tag.c +++ b/tag.c @@ -49,12 +49,11 @@ dofloat(Arg *arg) } if(!sel || !isvisible(sel)) sel = getnext(clients); - if(sel) { + if(sel) focus(sel); - restack(); - } else XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); + restack(); } void