it appears i forgot to remove 2 * borderwidth + 2 * sp from image

resizing function
This commit is contained in:
speedie 2023-04-07 20:09:13 +02:00
parent e0e56a9240
commit 44c8667506

View file

@ -359,8 +359,8 @@ resizetoimageheight(int imageheight)
return;
}
XResizeWindow(dpy, win, mw, mh);
drw_resize(drw, mw, mh);
XResizeWindow(dpy, win, mw - 2 * sp - 2 * borderwidth, mh);
drw_resize(drw, mw - 2 * sp - 2 * borderwidth, mh);
if (olines != lines) {
struct item *item;