simplification
5f55af40
2 file(s) · +3 −5
| 121 | 121 | Move focused window while dragging. Tiled windows will be toggled to the floating state. |
|
| 122 | 122 | .TP |
|
| 123 | 123 | .B Mod1\-Button2 |
|
| 124 | - | Zooms/cycles focused window to/from master area. If it is floating (but not fixed) it will be toggled to the tiled state instead. |
|
| 124 | + | Toggles focused window between floating and tiled state. |
|
| 125 | 125 | .TP |
|
| 126 | 126 | .B Mod1\-Button3 |
|
| 127 | 127 | Resize focused window while dragging. Tiled windows will be toggled to the floating state. |
| 342 | 342 | restack(); |
|
| 343 | 343 | movemouse(c); |
|
| 344 | 344 | } |
|
| 345 | - | else if(ev->button == Button2) { |
|
| 346 | - | if(lt->arrange && c->isfloating) |
|
| 347 | - | togglefloating(NULL); |
|
| 348 | - | } |
|
| 345 | + | else if(ev->button == Button2) |
|
| 346 | + | togglefloating(NULL); |
|
| 349 | 347 | else if(ev->button == Button3 && !c->isfixed) { |
|
| 350 | 348 | restack(); |
|
| 351 | 349 | resizemouse(c); |