Using Xlib to create a colored hardware cursor

2012-02-02 Thread Jannik Heller
I would like to use a different mouse cursor in my application instead of the standard X11 one (it uses Ogre3D) Here is what I've tried // getting the X11 window from OIS (ogre's input library) OIS::ParamList::iterator i = pl.find("WINDOW"); Window window = strtoul(i->second.c_str

Re: Using Xlib to create a colored hardware cursor

2012-02-08 Thread Jannik Heller
Sorry, my fault, I didn't use the correct colors (when converting the colors to char i have to multiply with 255 obviously) - it works now. ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org