togglefloat should only work in dotile mode (thanks to Sander for this hint)
3aff9617
1 file(s) · +1 −1
| 202 | 202 | ||
| 203 | 203 | void |
|
| 204 | 204 | togglefloat(Arg *arg) { |
|
| 205 | - | if (!sel) |
|
| 205 | + | if (!sel || arrange == dofloat) |
|
| 206 | 206 | return; |
|
| 207 | 207 | sel->isfloat = !sel->isfloat; |
|
| 208 | 208 | arrange(); |