diff --git a/src/texture.h b/src/texture.h index 193c261..09b5868 100644 --- a/src/texture.h +++ b/src/texture.h @@ -175,7 +175,7 @@ void wTexturePaintTitlebar(struct WWindow *wwin, WTexture *texture, Pixmap *tdat int repaint); -#define FREE_PIXMAP(p) if ((p)!=None) XFreePixmap(dpy, (p)), (p)=None +#define FREE_PIXMAP(p) if ((p)!=None) wm_backend->pixmap_free((unsigned long)(p)), (p)=None void wDrawBevel(Drawable d, unsigned width, unsigned height, WTexSolid *texture, int relief);