prints nmaster in firstcenterwindow layout

This commit is contained in:
Alexander Bocken 2021-05-10 17:13:18 +02:00
parent 86ce7af866
commit 3cd4128998
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

3
dwm.c
View File

@ -2499,6 +2499,9 @@ centeredfirstwindow(Monitor *m)
unsigned int i, n, w, mh, mw, mx, mxo, my, myo, tx;
Client *c;
/* print nmaster in layout */
snprintf(m->ltsymbol, sizeof m->ltsymbol, "%d[\\]", m->nmaster);
/* count number of clients in the selected monitor */
for (n = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), n++);
if (n == 0)