diff options
Diffstat (limited to '')
| -rw-r--r-- | config.def.h | 1 | ||||
| -rw-r--r-- | dwm.1 | 3 | ||||
| -rw-r--r-- | dwm.c | 10 |
3 files changed, 0 insertions, 14 deletions
diff --git a/config.def.h b/config.def.h index 9ce750e..9262025 100644 --- a/config.def.h +++ b/config.def.h | |||
| @@ -27,7 +27,6 @@ Layout layouts[] = { | |||
| 27 | /* symbol arrange geom */ | 27 | /* symbol arrange geom */ |
| 28 | { "[]=", tile, tilegeom }, /* first entry is default */ | 28 | { "[]=", tile, tilegeom }, /* first entry is default */ |
| 29 | { "><>", NULL, }, /* no layout function means floating behavior */ | 29 | { "><>", NULL, }, /* no layout function means floating behavior */ |
| 30 | { "<M>", monocle, NULL }, /* TODO: remove this */ | ||
| 31 | }; | 30 | }; |
| 32 | 31 | ||
| 33 | /* key definitions */ | 32 | /* key definitions */ |
| @@ -84,9 +84,6 @@ Toggle focused window between tiled and floating state. | |||
| 84 | .B Mod1\-Tab | 84 | .B Mod1\-Tab |
| 85 | Toggles to the previously selected tags. | 85 | Toggles to the previously selected tags. |
| 86 | .TP | 86 | .TP |
| 87 | .B Mod1\-r | ||
| 88 | Re-applies tagging rules to all windows. | ||
| 89 | .TP | ||
| 90 | .B Mod1\-Shift\-[1..n] | 87 | .B Mod1\-Shift\-[1..n] |
| 91 | Apply | 88 | Apply |
| 92 | .RB nth | 89 | .RB nth |
| @@ -151,7 +151,6 @@ void killclient(const char *arg); | |||
| 151 | void manage(Window w, XWindowAttributes *wa); | 151 | void manage(Window w, XWindowAttributes *wa); |
| 152 | void mappingnotify(XEvent *e); | 152 | void mappingnotify(XEvent *e); |
| 153 | void maprequest(XEvent *e); | 153 | void maprequest(XEvent *e); |
| 154 | void monocle(void); | ||
| 155 | void movemouse(Client *c); | 154 | void movemouse(Client *c); |
| 156 | Client *nextunfloating(Client *c); | 155 | Client *nextunfloating(Client *c); |
| 157 | void propertynotify(XEvent *e); | 156 | void propertynotify(XEvent *e); |
| @@ -1013,15 +1012,6 @@ maprequest(XEvent *e) { | |||
| 1013 | } | 1012 | } |
| 1014 | 1013 | ||
| 1015 | void | 1014 | 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 | } | ||
| 1023 | |||
| 1024 | void | ||
| 1025 | movemouse(Client *c) { | 1015 | movemouse(Client *c) { |
| 1026 | int x1, y1, ocx, ocy, di, nx, ny; | 1016 | int x1, y1, ocx, ocy, di, nx, ny; |
| 1027 | unsigned int dui; | 1017 | unsigned int dui; |
