it appears i forgot to remove 2 * borderwidth + 2 * sp from image
resizing function
This commit is contained in:
parent
e0e56a9240
commit
44c8667506
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue