Got report that systray was showing too far down when combined with bottom bar and barpadding
This commit is contained in:
4
dwm.c
4
dwm.c
@@ -3700,7 +3700,11 @@ togglebar(const Arg *arg)
|
|||||||
else if (selmon->showbar) {
|
else if (selmon->showbar) {
|
||||||
wc.y = 0;
|
wc.y = 0;
|
||||||
if (!selmon->topbar)
|
if (!selmon->topbar)
|
||||||
|
#if BARPADDING_PATCH
|
||||||
|
wc.y = selmon->mh - bh + vp;
|
||||||
|
#else
|
||||||
wc.y = selmon->mh - bh;
|
wc.y = selmon->mh - bh;
|
||||||
|
#endif // BARPADDING_PATCH
|
||||||
}
|
}
|
||||||
XConfigureWindow(dpy, systray->win, CWY, &wc);
|
XConfigureWindow(dpy, systray->win, CWY, &wc);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user