Browse Source

Correctly updated window pixmap after i_fit_to_img()

master
Bert Münnich 12 years ago
parent
commit
f7301cf4f9
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      window.c

+ 5
- 0
window.c 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;
}



Loading…
Cancel
Save