XFreeCursor()XFreeCursor()NameXFreeCursor – 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.
DescriptionXFreeCursor() 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 AlsoXCreateFontCursor(), XCreateGlyphCursor(), XCreatePixmapCursor(), XDe‐
fineCursor(), XQueryBestCursor(), XQueryBestSize(), XRecolorCursor(),
XUndefineCursor().
Xlib - Cursors XFreeCursor()