removed monocle for now
bd67a82f
3 file(s) · +0 −14
| 27 | 27 | /* symbol arrange geom */ |
|
| 28 | 28 | { "[]=", tile, tilegeom }, /* first entry is default */ |
|
| 29 | 29 | { "><>", NULL, }, /* no layout function means floating behavior */ |
|
| 30 | - | { "<M>", monocle, NULL }, /* TODO: remove this */ |
|
| 31 | 30 | }; |
|
| 32 | 31 | ||
| 33 | 32 | /* key definitions */ |
| 84 | 84 | .B Mod1\-Tab |
|
| 85 | 85 | Toggles to the previously selected tags. |
|
| 86 | 86 | .TP |
|
| 87 | - | .B Mod1\-r |
|
| 88 | - | Re-applies tagging rules to all windows. |
|
| 89 | - | .TP |
|
| 90 | 87 | .B Mod1\-Shift\-[1..n] |
|
| 91 | 88 | Apply |
|
| 92 | 89 | .RB nth |
| 151 | 151 | void manage(Window w, XWindowAttributes *wa); |
|
| 152 | 152 | void mappingnotify(XEvent *e); |
|
| 153 | 153 | void maprequest(XEvent *e); |
|
| 154 | - | void monocle(void); |
|
| 155 | 154 | void movemouse(Client *c); |
|
| 156 | 155 | Client *nextunfloating(Client *c); |
|
| 157 | 156 | void propertynotify(XEvent *e); |
|
| 1010 | 1009 | return; |
|
| 1011 | 1010 | if(!getclient(ev->window)) |
|
| 1012 | 1011 | manage(ev->window, &wa); |
|
| 1013 | - | } |
|
| 1014 | - | ||
| 1015 | - | void |
|
| 1016 | - | monocle(void) { |
|
| 1017 | - | Client *c; |
|
| 1018 | - | ||
| 1019 | - | for(c = clients; c; c = c->next) |
|
| 1020 | - | if(!c->isfloating && isvisible(c)) |
|
| 1021 | - | resize(c, wx, wy, ww - 2 * c->bw, wh - 2 * c->bw, RESIZEHINTS); |
|
| 1022 | 1012 | } |
|
| 1023 | 1013 | ||
| 1024 | 1014 | void |
|