The
XFreeCursor()
function deletes the association between the cursor resource ID
and the specified cursor.
The cursor storage is freed when no other resource references it.
The specified cursor ID should not be referred to again.
XFreeCursor()
can generate a
BadCursor
error.
Diagnostics
BadCursor
A value for a Cursor argument does not name a
defined Cursor.