Correctly updated window pixmap after i_fit_to_img()

This commit is contained in:
Bert Münnich 2013-02-08 23:26:06 +01:00
parent e810072d71
commit f7301cf4f9

View file

@ -305,6 +305,11 @@ bool win_moveresize(win_t *win, int x, int y, unsigned int w, unsigned int h)
XMoveResizeWindow(win->env.dpy, win->xwin, x, y, w, h);
if (win->pm != None) {
XFreePixmap(win->env.dpy, win->pm);
win->pm = None;
}
return true;
}