fixed exit condition in togglemax()

new_dwm
Anselm R. Garbe 18 years ago
parent 6ee9f13457
commit 92105e7862

@ -195,7 +195,7 @@ void
togglemax(Arg arg) { togglemax(Arg arg) {
XEvent ev; XEvent ev;
if(!sel || !sel->isversatile || sel->isfixed || lt->arrange != versatile) if(!sel || (lt->arrange != versatile && !sel->isversatile) || sel->isfixed)
return; return;
if((sel->ismax = !sel->ismax)) { if((sel->ismax = !sel->ismax)) {
sel->rx = sel->x; sel->rx = sel->x;

Loading…
Cancel
Save