From 91b3898405f9ee567fdbbfb0238dcf4125ae7b4e Mon Sep 17 00:00:00 2001 From: bakkeby Date: Sat, 23 Jan 2021 10:07:10 +0100 Subject: [PATCH] Got report that systray was showing too far down when combined with bottom bar and barpadding --- dwm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dwm.c b/dwm.c index e2cc5f0..1bcc640 100644 --- a/dwm.c +++ b/dwm.c @@ -3700,7 +3700,11 @@ togglebar(const Arg *arg) else if (selmon->showbar) { wc.y = 0; if (!selmon->topbar) + #if BARPADDING_PATCH + wc.y = selmon->mh - bh + vp; + #else wc.y = selmon->mh - bh; + #endif // BARPADDING_PATCH } XConfigureWindow(dpy, systray->win, CWY, &wc); }