# HG changeset patch # User Matthias-Christian Ott # Date 1232051874 -3600 # Node ID 01133f1c44f13290b6cc0364bb1edcff33338303 # Parent 9aa8fdc1ea9b6c87d3b1055f61efeca59b078d91 ommit border in monocle layout diff --git a/dwm.c b/dwm.c --- a/dwm.c +++ b/dwm.c @@ -940,13 +940,11 @@ void monocle(void) { - unsigned int n; Client *c; - for(n = 0, c = nexttiled(clients); c && n < 2; c = nexttiled(c->next), n++); for(c = nexttiled(clients); c; c = nexttiled(c->next)) { - adjustborder(c, n == 1 ? 0 : borderpx); - resize(c, wx, wy, ww - 2 * c->bw, wh - 2 * c->bw, resizehints); + adjustborder(c, 0); + resize(c, wx, wy, ww, wh, resizehints); } }