From 72a53ed2ccfb2c935a9c16e45cfbd9ccba6c9ab0 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 15 Mar 2020 15:55:52 -0400 Subject: monocle mode totally removed --- dwm.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'dwm.c') diff --git a/dwm.c b/dwm.c index 11f9e95..d748a68 100644 --- a/dwm.c +++ b/dwm.c @@ -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); @@ -1231,21 +1230,6 @@ maprequest(XEvent *e) manage(ev->window, &wa); } -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) { -- cgit v1.2.3