fixed exit condition in togglemax()
This commit is contained in:
parent
6ee9f13457
commit
92105e7862
2
layout.c
2
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user