JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
removed monocle for now
authorAnselm R Garbe <garbeam@gmail.com>
Sat, 17 May 2008 13:46:06 +0000 (14:46 +0100)
committerAnselm R Garbe <garbeam@gmail.com>
Sat, 17 May 2008 13:46:06 +0000 (14:46 +0100)
config.def.h
dwm.1
dwm.c

index 9ce750e..9262025 100644 (file)
@@ -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 (file)
--- 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 (file)
--- 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;