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 */
{ "[]=", tile, tilegeom }, /* first entry is default */
{ "><>", NULL, }, /* no layout function means floating behavior */
{ "<M>", monocle, NULL }, /* TODO: remove this */
};
/* key definitions */

3
dwm.1
View file

@ -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

10
dwm.c
View file

@ -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;