about summary refs log tree commit diff stats
path: root/layout.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-05-30 20:49:38 +0200
committerAnselm R. Garbe <arg@suckless.org>2007-05-30 20:49:38 +0200
commit141beb27041371672d54da7f541a3855fab0ac5b (patch)
treead9ac0281e23871844a7ee2dfa70fe303abb5e62 /layout.c
parent4e49d5a0ad0936e1492eabf92ff471670742189f (diff)
downloaddwm-141beb27041371672d54da7f541a3855fab0ac5b.tar.gz
replaced BORDERPX with sel->border in togglemax(), in other places this is not possible.
Diffstat (limited to 'layout.c')
-rw-r--r--layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout.c b/layout.c
index ecd7a16..f3f8e26 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);