JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed issue reported by sander
[dwm.git] / tag.c
diff --git a/tag.c b/tag.c
index 841d0fc..cdb0f52 100644 (file)
--- 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