diff options
| author | anselm@anselm1 <unknown> | 2008-05-19 20:13:24 +0100 |
|---|---|---|
| committer | anselm@anselm1 <unknown> | 2008-05-19 20:13:24 +0100 |
| commit | 5f55af40aecbce7aa1bf01bdca50d92014c02a5c (patch) | |
| tree | 39a6bfdb380c321c7d2f55e4b795bd96ffbb493c | |
| parent | reverted dist target in Makefile (diff) | |
| download | dwm-5f55af40aecbce7aa1bf01bdca50d92014c02a5c.tar.gz dwm-5f55af40aecbce7aa1bf01bdca50d92014c02a5c.zip | |
simplification
| -rw-r--r-- | dwm.1 | 2 | ||||
| -rw-r--r-- | dwm.c | 6 |
2 files changed, 3 insertions, 5 deletions
| @@ -121,7 +121,7 @@ Quit dwm. | |||
| 121 | Move focused window while dragging. Tiled windows will be toggled to the floating state. | 121 | Move focused window while dragging. Tiled windows will be toggled to the floating state. |
| 122 | .TP | 122 | .TP |
| 123 | .B Mod1\-Button2 | 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 | .TP | 125 | .TP |
| 126 | .B Mod1\-Button3 | 126 | .B Mod1\-Button3 |
| 127 | Resize focused window while dragging. Tiled windows will be toggled to the floating state. | 127 | Resize focused window while dragging. Tiled windows will be toggled to the floating state. |
| @@ -342,10 +342,8 @@ buttonpress(XEvent *e) { | |||
| 342 | restack(); | 342 | restack(); |
| 343 | movemouse(c); | 343 | movemouse(c); |
| 344 | } | 344 | } |
| 345 | else if(ev->button == Button2) { | 345 | else if(ev->button == Button2) |
| 346 | if(lt->arrange && c->isfloating) | 346 | togglefloating(NULL); |
| 347 | togglefloating(NULL); | ||
| 348 | } | ||
| 349 | else if(ev->button == Button3 && !c->isfixed) { | 347 | else if(ev->button == Button3 && !c->isfixed) { |
| 350 | restack(); | 348 | restack(); |
| 351 | resizemouse(c); | 349 | resizemouse(c); |
