瀏覽代碼

removed monocle for now

Anselm R Garbe 17 年之前
父節點
當前提交
bd67a82fb5
共有 3 個文件被更改,包括 0 次插入14 次删除
  1. 0 1
      config.def.h
  2. 0 3
      dwm.1
  3. 0 10
      dwm.c

+ 0 - 1
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 */

+ 0 - 3
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

+ 0 - 10
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);
@@ -1012,15 +1011,6 @@ maprequest(XEvent *e) {
 		manage(ev->window, &wa);
 }
 
-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;