Skip to content

Commit

Permalink
removed monocle for now
Browse files Browse the repository at this point in the history
  • Loading branch information
garbeam committed May 17, 2008
1 parent 14d8d82 commit bd67a82
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion config.def.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
3 changes: 0 additions & 3 deletions dwm.1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 0 additions & 10 deletions dwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit bd67a82

Please sign in to comment.