JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
lt->arrange in mfact
[dwm.git] / dwm.c
diff --git a/dwm.c b/dwm.c
index 9746c1d..4a826d9 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -1306,7 +1306,7 @@ void
 setmfact(const void *arg) {
        double d = *((double*) arg);
 
-       if(!d || lt->arrange != tile)
+       if(!d || lt->arrange)
                return;
        d = d < 1.0 ? d + mfact : d - 1.0;
        if(d < 0.1 || d > 0.9)
@@ -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)))