XRecolorCursor(display, cursor, foreground_color, background_color)
Display *display;
Cursor cursor;
XColor *foreground_color, *background_color;
display | Specifies the connection to the X server. |
cursor | Specifies the cursor. |
foreground_color | Specifies the RGB values for the foreground of the source. |
background_color | Specifies the RGB values for the background of the source. |
XRecolorCursor() can generate a BadCursor error.