fix padding for toggled extra bar

This commit is contained in:
Jakub 2024-06-03 23:49:53 -04:00
parent cd218b417b
commit c361ca2c0d

2
dwm.c
View File

@ -2484,7 +2484,7 @@ toggleextrabar(const Arg *arg)
{
selmon->extrabar = !selmon->extrabar;
updatebarpos(selmon);
XMoveResizeWindow(dpy, selmon->extrabarwin, selmon->wx, selmon->eby, selmon->ww, bh);
XMoveResizeWindow(dpy, selmon->extrabarwin, selmon->wx + sp, selmon->eby - vp ,selmon->ww - 2 * sp, bh);
arrange(selmon);
}