fixed exit condition in togglemax()
92105e78
1 file(s) · +1 −1
| 195 | 195 | togglemax(Arg arg) { |
|
| 196 | 196 | XEvent ev; |
|
| 197 | 197 | ||
| 198 | - | if(!sel || !sel->isversatile || sel->isfixed || lt->arrange != versatile) |
|
| 198 | + | if(!sel || (lt->arrange != versatile && !sel->isversatile) || sel->isfixed) |
|
| 199 | 199 | return; |
|
| 200 | 200 | if((sel->ismax = !sel->ismax)) { |
|
| 201 | 201 | sel->rx = sel->x; |