summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-05-17 14:46:06 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-05-17 14:46:06 +0100
commitbd67a82fb5a77638be365659a8b6aab4f3f5a35e (patch)
tree2a695696886a0258d53e44e4a904f219adad0114
parentremoved the exact focus mechanism of next/prev window (diff)
downloaddwm-bd67a82fb5a77638be365659a8b6aab4f3f5a35e.tar.gz
dwm-bd67a82fb5a77638be365659a8b6aab4f3f5a35e.zip
removed monocle for now
-rw-r--r--config.def.h1
-rw-r--r--dwm.13
-rw-r--r--dwm.c10
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 */
diff --git a/dwm.1 b/dwm.1
index 7bacbc6..3b8bf1d 100644
--- a/dwm.1
+++ b/dwm.1
@@ -84,9 +84,6 @@ Toggle focused window between tiled and floating state.
84.B Mod1\-Tab 84.B Mod1\-Tab
85Toggles to the previously selected tags. 85Toggles to the previously selected tags.
86.TP 86.TP
87.B Mod1\-r
88Re-applies tagging rules to all windows.
89.TP
90.B Mod1\-Shift\-[1..n] 87.B Mod1\-Shift\-[1..n]
91Apply 88Apply
92.RB nth 89.RB nth
diff --git a/dwm.c b/dwm.c
index 3dc6f84..f3254ae 100644
--- a/dwm.c
+++ b/dwm.c
@@ -151,7 +151,6 @@ void killclient(const char *arg);
151void manage(Window w, XWindowAttributes *wa); 151void manage(Window w, XWindowAttributes *wa);
152void mappingnotify(XEvent *e); 152void mappingnotify(XEvent *e);
153void maprequest(XEvent *e); 153void maprequest(XEvent *e);
154void monocle(void);
155void movemouse(Client *c); 154void movemouse(Client *c);
156Client *nextunfloating(Client *c); 155Client *nextunfloating(Client *c);
157void propertynotify(XEvent *e); 156void propertynotify(XEvent *e);
@@ -1013,15 +1012,6 @@ maprequest(XEvent *e) {
1013} 1012}
1014 1013
1015void 1014void
1016monocle(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
1024void
1025movemouse(Client *c) { 1015movemouse(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;