dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit bd67a82fb5a77638be365659a8b6aab4f3f5a35e
parent 14d8d828abbb91db3305dfa666c8c70358d1d3c7
Author: Anselm R Garbe <garbeam@gmail.com>
Date:   Sat, 17 May 2008 14:46:06 +0100

removed monocle for now
Diffstat:
Mconfig.def.h | 1-
Mdwm.1 | 3---
Mdwm.c | 10----------
3 files changed, 0 insertions(+), 14 deletions(-)
diff --git 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
@@ -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
@@ -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;