|
|
@ -735,7 +735,7 @@ deck(Monitor *m) {
|
|
|
|
|
|
|
|
|
|
|
|
if(n > m->nmaster) {
|
|
|
|
if(n > m->nmaster) {
|
|
|
|
mw = m->nmaster ? m->ww * m->mfact : 0;
|
|
|
|
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
|
|
|
|
else
|
|
|
|
mw = m->ww;
|
|
|
|
mw = m->ww;
|
|
|
@ -1220,7 +1220,7 @@ monocle(Monitor *m)
|
|
|
|
if (ISVISIBLE(c))
|
|
|
|
if (ISVISIBLE(c))
|
|
|
|
n++;
|
|
|
|
n++;
|
|
|
|
if (n > 0) /* override layout symbol */
|
|
|
|
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))
|
|
|
|
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);
|
|
|
|
resize(c, m->wx, m->wy, m->ww - 2 * c->bw, m->wh - 2 * c->bw, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|