replaced BORDERPX with sel->border in togglemax(), in other places this is not possible.
Anselm R. Garbe arg@suckless.org
Wed, 30 May 2007 20:49:38 +0200
M
layout.c
→
layout.c
@@ -243,7 +243,7 @@ sel->rx = sel->x;
sel->ry = sel->y; sel->rw = sel->w; sel->rh = sel->h; - resize(sel, wax, way, waw - 2 * BORDERPX, wah - 2 * BORDERPX, True); + resize(sel, wax, way, waw - 2 * sel->border, wah - 2 * sel->border, True); } else resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True);