@@ -2393,17 +2393,15 @@ void 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;
+ wc.y = selmon->mh - bh + vp;
}
XConfigureWindow(dpy, systray->win, CWY, &wc);
arrange(selmon);
-
void togglefloating(const Arg *arg) {
if (!selmon->sel)
return;