summaryrefslogtreecommitdiffstats
path: root/layout.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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) {
243 sel->ry = sel->y; 243 sel->ry = sel->y;
244 sel->rw = sel->w; 244 sel->rw = sel->w;
245 sel->rh = sel->h; 245 sel->rh = sel->h;
246 resize(sel, wax, way, waw - 2 * BORDERPX, wah - 2 * BORDERPX, True); 246 resize(sel, wax, way, waw - 2 * sel->border, wah - 2 * sel->border, True);
247 } 247 }
248 else 248 else
249 resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True); 249 resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True);