fix padding issues

This commit is contained in:
speedie 2023-04-22 00:50:26 +02:00
parent 80f4b34c94
commit 7cbc4c7ef1
2 changed files with 2 additions and 2 deletions

View file

@ -144,6 +144,6 @@ resizeclient(void)
// no window/invalid window or menu height we had before is the same as the current window height
if (!win || omh == mh) return;
XMoveResizeWindow(dpy, win, x, y, mw - 2 * sp - borderwidth * 2, mh);
XMoveResizeWindow(dpy, win, x + sp, y + vp, mw - 2 * sp - borderwidth * 2, mh);
drw_resize(drw, mw - 2 * sp - borderwidth * 2, mh);
}

View file

@ -432,7 +432,7 @@ resizetoimageheight(int imageheight)
return;
}
XMoveResizeWindow(dpy, win, x, y, mw - 2 * sp - borderwidth, mh);
XMoveResizeWindow(dpy, win, x + sp, y + vp, mw - 2 * sp - borderwidth * 2, mh);
drw_resize(drw, mw - 2 * sp - borderwidth, mh);
if (olines != lines) {