Holdbar compatibility with barpadding, extrabar and statuspadding.

This commit is contained in:
bakkeby
2020-01-24 20:41:08 +01:00
parent d04b3899fd
commit fa6e3d9500
3 changed files with 63 additions and 4 deletions

2
dwm.c
View File

@@ -1063,7 +1063,7 @@ configurenotify(XEvent *e)
#endif // BARPADDING_PATCH
#if EXTRABAR_PATCH
#if BARPADDING_PATCH
XMoveResizeWindow(dpy, m->extrabarwin, m->wx, m->eby - vp, m->ww - 2 * sp, bh);
XMoveResizeWindow(dpy, m->extrabarwin, m->wx + sp, m->eby - vp, m->ww - 2 * sp, bh);
#else
XMoveResizeWindow(dpy, m->extrabarwin, m->wx, m->eby, m->ww, bh);
#endif // BARPADDING_PATCH