|
|
|
@ -735,7 +735,7 @@ deck(Monitor *m) {
|
|
|
|
|
|
|
|
|
|
if(n > m->nmaster) {
|
|
|
|
|
mw = m->nmaster ? m->ww * m->mfact : 0;
|
|
|
|
|
snprintf(m->ltsymbol, sizeof m->ltsymbol, "[%d]", n - m->nmaster);
|
|
|
|
|
snprintf(m->ltsymbol, sizeof m->ltsymbol, "%d", n - m->nmaster);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
mw = m->ww;
|
|
|
|
@ -1220,7 +1220,7 @@ monocle(Monitor *m)
|
|
|
|
|
if (ISVISIBLE(c))
|
|
|
|
|
n++;
|
|
|
|
|
if (n > 0) /* override layout symbol */
|
|
|
|
|
snprintf(m->ltsymbol, sizeof m->ltsymbol, "[%d]", n);
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|