/* assign positions and sizes to all clients on this screen */
for(c = nexttiled(m->clients); c; c = nexttiled(c->next)) {
- resize(c, x, m->wy, w, m->wh, False);
+ resize(c, x, m->wy, w - 2 * c->bw, m->wh - 2 * c->bw, False);
/*
* Since all clients are horizontally aligned and the
y = m->wy;
for(c = nexttiled(m->clients); c; c = nexttiled(c->next)) {
- resize(c, m->wx, y, m->ww, h, False);
+ resize(c, m->wx, y, m->ww - 2 * c->bw, h - 2 * c->bw, False);
y += HEIGHT(c);
}