summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.mk2
-rw-r--r--layout.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index de2fb006..f0c34894 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
# dwm version
-VERSION = 4.2
+VERSION = 4.3
# Customize below to fit your system
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);