From 141beb27041371672d54da7f541a3855fab0ac5b Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Wed, 30 May 2007 20:49:38 +0200 Subject: replaced BORDERPX with sel->border in togglemax(), in other places this is not possible. --- layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layout.c') diff --git a/layout.c b/layout.c index ecd7a166..f3f8e26d 100644 --- a/layout.c +++ b/layout.c @@ -243,7 +243,7 @@ togglemax(const char *arg) { 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); -- cgit v1.2.3