prints nmaster in firstcenterwindow layout
This commit is contained in:
parent
86ce7af866
commit
3cd4128998
3
dwm.c
3
dwm.c
@ -2499,6 +2499,9 @@ centeredfirstwindow(Monitor *m)
|
|||||||
unsigned int i, n, w, mh, mw, mx, mxo, my, myo, tx;
|
unsigned int i, n, w, mh, mw, mx, mxo, my, myo, tx;
|
||||||
Client *c;
|
Client *c;
|
||||||
|
|
||||||
|
/* print nmaster in layout */
|
||||||
|
snprintf(m->ltsymbol, sizeof m->ltsymbol, "%d[\\]", m->nmaster);
|
||||||
|
|
||||||
/* count number of clients in the selected monitor */
|
/* count number of clients in the selected monitor */
|
||||||
for (n = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), n++);
|
for (n = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), n++);
|
||||||
if (n == 0)
|
if (n == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user