JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
removed NET_ACTIVE_WINDOW handling
[dwm.git] / client.c
index 7c3b28b..f92df83 100644 (file)
--- a/client.c
+++ b/client.c
@@ -466,12 +466,14 @@ zoom(Arg *arg)
 {
        Client *c;
 
-       if(!sel)
+       if(!sel || (arrange != dotile) || sel->isfloat)
                return;
 
-       if(sel == getnext(clients) && sel->next)  {
+       if(sel == getnext(clients))  {
                if((c = getnext(sel->next)))
                        sel = c;
+               else
+                       return;
        }
 
        /* pop */