diff options
| -rw-r--r-- | dwm.1 | 5 | ||||
| -rw-r--r-- | event.c | 2 |
2 files changed, 5 insertions, 2 deletions
| @@ -40,7 +40,8 @@ click on a tag label to display all windows with that tag, click on the mode | |||
| 40 | label toggles between tiled and floating mode. | 40 | label toggles between tiled and floating mode. |
| 41 | .TP | 41 | .TP |
| 42 | .B Button3 | 42 | .B Button3 |
| 43 | click on a tag label adds/removes all windows with that tag to/from the view. | 43 | click on a tag label adds/removes all windows with that tag to/from the view, |
| 44 | click on the mode label toggles the stack position (tiled mode). | ||
| 44 | .TP | 45 | .TP |
| 45 | .B Mod1-Button1 | 46 | .B Mod1-Button1 |
| 46 | click on a tag label applies that tag to the focused window. | 47 | click on a tag label applies that tag to the focused window. |
| @@ -63,7 +64,7 @@ Focus previous window. | |||
| 63 | Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode). | 64 | Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode). |
| 64 | .TP | 65 | .TP |
| 65 | .B Mod1-b | 66 | .B Mod1-b |
| 66 | Toggle stacking area position (tiling mode only). | 67 | Toggle stack position (tiling mode only). |
| 67 | .TP | 68 | .TP |
| 68 | .B Mod1-g | 69 | .B Mod1-g |
| 69 | Grow current area (tiling mode only). | 70 | Grow current area (tiling mode only). |
| @@ -126,6 +126,8 @@ buttonpress(XEvent *e) { | |||
| 126 | if(ev->x < x + bmw) { | 126 | if(ev->x < x + bmw) { |
| 127 | if(ev->button == Button1) | 127 | if(ev->button == Button1) |
| 128 | togglemode(NULL); | 128 | togglemode(NULL); |
| 129 | else if(ev->button == Button3) | ||
| 130 | togglestackpos(NULL); | ||
| 129 | } | 131 | } |
| 130 | } | 132 | } |
| 131 | else if((c = getclient(ev->window))) { | 133 | else if((c = getclient(ev->window))) { |
