removed monocle for now

This commit is contained in:
Anselm R Garbe 2008-05-17 14:46:06 +01:00
parent 14d8d828ab
commit bd67a82fb5
3 changed files with 0 additions and 14 deletions

View File

@ -27,7 +27,6 @@ Layout layouts[] = {
/* symbol arrange geom */ /* symbol arrange geom */
{ "[]=", tile, tilegeom }, /* first entry is default */ { "[]=", tile, tilegeom }, /* first entry is default */
{ "><>", NULL, }, /* no layout function means floating behavior */ { "><>", NULL, }, /* no layout function means floating behavior */
{ "<M>", monocle, NULL }, /* TODO: remove this */
}; };
/* key definitions */ /* key definitions */

3
dwm.1
View File

@ -84,9 +84,6 @@ Toggle focused window between tiled and floating state.
.B Mod1\-Tab .B Mod1\-Tab
Toggles to the previously selected tags. Toggles to the previously selected tags.
.TP .TP
.B Mod1\-r
Re-applies tagging rules to all windows.
.TP
.B Mod1\-Shift\-[1..n] .B Mod1\-Shift\-[1..n]
Apply Apply
.RB nth .RB nth

10
dwm.c
View File

@ -151,7 +151,6 @@ void killclient(const char *arg);
void manage(Window w, XWindowAttributes *wa); void manage(Window w, XWindowAttributes *wa);
void mappingnotify(XEvent *e); void mappingnotify(XEvent *e);
void maprequest(XEvent *e); void maprequest(XEvent *e);
void monocle(void);
void movemouse(Client *c); void movemouse(Client *c);
Client *nextunfloating(Client *c); Client *nextunfloating(Client *c);
void propertynotify(XEvent *e); void propertynotify(XEvent *e);
@ -1012,15 +1011,6 @@ maprequest(XEvent *e) {
manage(ev->window, &wa); 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 void
movemouse(Client *c) { movemouse(Client *c) {
int x1, y1, ocx, ocy, di, nx, ny; int x1, y1, ocx, ocy, di, nx, ny;