systray: fixing togglebar barpadding issue
This commit is contained in:
6
dwm.c
6
dwm.c
@@ -3698,11 +3698,13 @@ togglebar(const Arg *arg)
|
||||
if (!selmon->showbar)
|
||||
wc.y = -bh;
|
||||
else if (selmon->showbar) {
|
||||
wc.y = 0;
|
||||
if (!selmon->topbar)
|
||||
#if BARPADDING_PATCH
|
||||
wc.y = vp;
|
||||
if (!selmon->topbar)
|
||||
wc.y = selmon->mh - bh + vp;
|
||||
#else
|
||||
wc.y = 0;
|
||||
if (!selmon->topbar)
|
||||
wc.y = selmon->mh - bh;
|
||||
#endif // BARPADDING_PATCH
|
||||
}
|
||||
|
Reference in New Issue
Block a user