diff options
author | Luke Smith <luke@lukesmith.xyz> | 2020-03-15 15:55:52 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2020-03-15 15:55:52 -0400 |
commit | 72a53ed2ccfb2c935a9c16e45cfbd9ccba6c9ab0 (patch) | |
tree | 2a8f233cbe60cf4b1089ff27537ce1463b1cdcb0 /dwm.c | |
parent | ea0887f5670e87973ffd526536b59891cd2c85d8 (diff) |
monocle mode totally removed
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -213,7 +213,6 @@ static void loadxrdb(void); static void manage(Window w, XWindowAttributes *wa); static void mappingnotify(XEvent *e); static void maprequest(XEvent *e); -static void monocle(Monitor *m); static void motionnotify(XEvent *e); static void movemouse(const Arg *arg); static Client *nexttiled(Client *c); @@ -1232,21 +1231,6 @@ maprequest(XEvent *e) } void -monocle(Monitor *m) -{ - unsigned int n = 0; - Client *c; - - for (c = m->clients; c; c = c->next) - if (ISVISIBLE(c)) - n++; - if (n > 0) /* override layout symbol */ - snprintf(m->ltsymbol, sizeof m->ltsymbol, "[%d]", n); - for (c = nexttiled(m->clients); c; c = nexttiled(c->next)) - resize(c, m->wx, m->wy, m->ww - 2 * c->bw, m->wh - 2 * c->bw, 0); -} - -void motionnotify(XEvent *e) { static Monitor *mon = NULL; |