aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-05-23 15:51:02 -0700
committerFuwn <[email protected]>2024-05-23 15:51:07 -0700
commit7537dadadd5525229a8c6e0d332cdff22af9d384 (patch)
treeeaa310c9d24f49dde39782ce8c104d18b6bede77
parentfix(dwm.c): buttonpres with sp padding (diff)
downloadseiwm-7537dadadd5525229a8c6e0d332cdff22af9d384.tar.xz
seiwm-7537dadadd5525229a8c6e0d332cdff22af9d384.zip
fix(dwm.c): correct systray position on bar toggle
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 9a26a99..fb2e275 100644
--- a/dwm.c
+++ b/dwm.c
@@ -2238,7 +2238,7 @@ togglebar(const Arg *arg)
if (!selmon->showbar)
wc.y = -bh;
else if (selmon->showbar) {
- wc.y = 0;
+ wc.y = vp;
if (!selmon->topbar)
wc.y = selmon->mh - bh;
}