1
0
Fork 1
mirror of https://git.suckless.org/dwm synced 2025-03-22 14:43:15 -07:00

fixed exit condition in togglemax()

This commit is contained in:
Anselm R. Garbe 2007-02-22 08:08:36 +01:00
parent 6ee9f13457
commit 92105e7862

View file

@ -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;