XFreeCursor() XFreeCursor()
Name
XFreeCursor - release a cursor.
Synopsis
XFreeCursor(display, cursor)
Display *display;
Cursor cursor;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
cursor Specifies the ID of the cursor to be affected.
Description
XFreeCursor() deletes the association between the cursor ID and the specified cursor. The cursor storage is freed when all other clients
have freed it. Windows with their cursor attribute set to this cursor will have this attribute set to None (which implies CopyFromParent).
The specified cursor ID should not be referred to again.
Errors
BadCursor
See Also
XCreateFontCursor(), XCreateGlyphCursor(), XCreatePixmapCursor(), XDefineCursor(), XQueryBestCursor(), XQueryBestSize(), XRecolorCursor(),
XUndefineCursor().
Xlib - Cursors XFreeCursor()