XDefineCursor(display, w, cursor)
Display *display;
Window w;
Cursor cursor;
display | Specifies the connection to the X server. |
w | Specifies the window. |
cursor | Specifies the cursor that is to be displayed or None. |
XDefineCursor() can generate BadCursor and BadWindow errors.
BadCursor | A value for a Cursor argument does not name a defined Cursor. |
BadWindow | A value for a Window argument does not name a defined Window. |