Question

X has the method XCreatePixmapCursor to create a cursor from a pixmap with a color depth of 1. The foreground and background colors can be other than black and white, but there are only two colors.

Is there a way to create a multicolored cursor in X?

Was it helpful?

Solution

You probably need to use the X Cursor Extensions. See the XCURSOR(3) manpage and the X11/Xcursor/Xcursor.h header file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top