diff options
-rw-r--r-- | dwm.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1244,7 +1244,10 @@ monocle(Monitor *m) 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); + resize(c, m->wx + m->gappx, m->wy + m->gappx, + m->ww - 2 * c->bw - (2 * m->gappx), + m->wh - 2 * c->bw - (2 * m->gappx), + 0); } void |