X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/352cae4380713949d3800ebcda7aff3bb5ab9efc..317137149804c759e14a9e7d4704ac89262bd4e6:/layout.c diff --git a/layout.c b/layout.c index 6a65599..02ef559 100644 --- a/layout.c +++ b/layout.c @@ -195,7 +195,7 @@ void togglemax(Arg arg) { XEvent ev; - if(!sel || !sel->isversatile || sel->isfixed || lt->arrange != versatile) + if(!sel || (lt->arrange != versatile && !sel->isversatile) || sel->isfixed) return; if((sel->ismax = !sel->ismax)) { sel->rx = sel->x;