From bd67a82fb5a77638be365659a8b6aab4f3f5a35e Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Sat, 17 May 2008 14:46:06 +0100 Subject: [PATCH] removed monocle for now --- config.def.h | 1 - dwm.1 | 3 --- dwm.c | 10 ---------- 3 files changed, 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 */ - { "", 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; -- 1.7.10.4