JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
isfixed implies isfloating
[dwm.git] / dwm.c
diff --git a/dwm.c b/dwm.c
index 9746c1d..0dfb94e 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -1719,7 +1719,7 @@ void
 zoom(const void *arg) {
        Client *c = sel;
 
-       if(!lt->arrange || sel->isfloating)
+       if(ismax || !lt->arrange || (sel && sel->isfloating))
                return;
        if(c == nexttiled(clients))
                if(!c || !(c = nexttiled(c->next)))