--- dwm.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dwm.c b/dwm.c index 4465af1..3b98778 100644 --- a/dwm.c +++ b/dwm.c _AT_@ -1103,14 +1103,8 @@ 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); } -- 2.21.0Received on Tue Apr 09 2019 - 10:05:56 CEST
This archive was generated by hypermail 2.3.0 : Tue Apr 09 2019 - 10:12:23 CEST