aboutsummarylogtreecommitdiffstats
path: root/layout.c
diff options
context:
space:
mode:
authorAnselm R. Garbe2007-05-30 20:49:38 +0200
committerAnselm R. Garbe2007-05-30 20:49:38 +0200
commitaaa55818bcb2e854fdf8d6e8e70bd79eb57b499e (patch)
tree1d15e36bb1371baa441ddc4eeb93d1224c41fb89 /layout.c
parent65777515495166ab5698b663e856d6333454b60f (diff)
downloadaur-aaa55818bcb2e854fdf8d6e8e70bd79eb57b499e.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 ecd7a16616f2..f3f8e26d3c2b 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);