If i do that i get a big problem with the xlib:
X Error of failed request: BadCursor (invalid Cursor parameter)
Major opcode of failed request: 96 (X_RecolorCursor)
Resource id in failed request: 0x810830c
Serial number of failed request: 97
Current serial number in output stream: 97
If i do that i get a big problem with the xlib:
X Error of failed request: BadCursor (invalid Cursor parameter)
Yeah, that’s because the cursor structure returned by SDL_CreateCursor()
isn’t an X11 cursor. What you probably want to do is hack SDL to return
the current X cursor, if any, or allow you to set the foreground and
background colors.
You can always draw the cursor yourself, if you want a full color cursor.
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment