about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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;