forked from speedie/spmenu
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
XResizeWindow(dpy, win, mw, mh);
|
XResizeWindow(dpy, win, mw - 2 * sp - 2 * borderwidth, mh);
|
||||||
drw_resize(drw, mw, mh);
|
drw_resize(drw, mw - 2 * sp - 2 * borderwidth, mh);
|
||||||
|
|
||||||
if (olines != lines) {
|
if (olines != lines) {
|
||||||
struct item *item;
|
struct item *item;
|
||||||
|
|
Loading…
Reference in a new issue