about summary refs log tree commit diff stats
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
parent14d8d828abbb91db3305dfa666c8c70358d1d3c7 (diff)
downloaddwm-bd67a82fb5a77638be365659a8b6aab4f3f5a35e.tar.gz
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[] = {
 	/* symbol     arrange  geom */
 	{ "[]=",      tile,    tilegeom }, /* first entry is default */
 	{ "><>",      NULL,             }, /* no layout function means floating behavior */
-	{ "<M>",      monocle, NULL     }, /* TODO: remove this */
 };
 
 /* 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.
 .B Mod1\-Tab
 Toggles to the previously selected tags.
 .TP
-.B Mod1\-r
-Re-applies tagging rules to all windows.
-.TP
 .B Mod1\-Shift\-[1..n]
 Apply
 .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);
 void manage(Window w, XWindowAttributes *wa);
 void mappingnotify(XEvent *e);
 void maprequest(XEvent *e);
-void monocle(void);
 void movemouse(Client *c);
 Client *nextunfloating(Client *c);
 void propertynotify(XEvent *e);
@@ -1013,15 +1012,6 @@ maprequest(XEvent *e) {
 }
 
 void
-monocle(void) {
-	Client *c;
-
-	for(c = clients; c; c = c->next)
-		if(!c->isfloating && isvisible(c))
-			resize(c, wx, wy, ww - 2 * c->bw, wh - 2 * c->bw, RESIZEHINTS);
-}
-
-void
 movemouse(Client *c) {
 	int x1, y1, ocx, ocy, di, nx, ny;
 	unsigned int dui;