fix padding issues
This commit is contained in:
parent
80f4b34c94
commit
7cbc4c7ef1
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue