diff options
-rw-r--r-- | window.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; } |