NAME
XFreePixmap − free a pixmap ID.
Synopsis
XFreePixmap(display, pixmap)
Display *display;
Pixmap pixmap;
Arguments
displaySpecifies a connection to an X server; returned from XOpenDisplay().
pixmapSpecifies the pixmap whose ID should be freed.
Description
XFreePixmap() disassociates a pixmap ID from its resource. If no other client has an ID for that resource, it is freed by the server. The Pixmap should never be referenced again by this client. If it is, the ID will be unknown and a BadPixmap error will result.
Errors
BadPixmap
See Also
XCreateBitmapFromData(), XCreatePixmap(), XCreatePixmapFromBitmapData(), XQueryBestSize(), XQueryBestStipple(), XQueryBestTile(), XReadBitmapFile(), XSetTile(), XSetWindowBackgroundPixmap(), XSetWindowBorderPixmap(), XWriteBitmapFile().
Copyright O’Reilly & Assoc. —