Browse Source

removed monocle for now

master
Anselm R Garbe 17 years ago
parent
commit
bd67a82fb5
3 changed files with 0 additions and 14 deletions
  1. +0
    -1
      config.def.h
  2. +0
    -3
      dwm.1
  3. +0
    -10
      dwm.c

+ 0
- 1
config.def.h 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 */


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


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


Loading…
Cancel
Save