X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dwm.c;h=4a826d9f34c01787ef3286d9c9b59750ff192e30;hb=92f3c181c3c3f106361a9c9f7e354ce29ae37e62;hp=9746c1d532a534aa3bcbc296599f154fb88e9158;hpb=fde58d5e637d700981eaed69d172d3dbfcaee215;p=dwm.git diff --git a/dwm.c b/dwm.c index 9746c1d..4a826d9 100644 --- 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)))