More Linux Whining
Date: 22/10/2003
I thought it'd be nice to add cursor support to my LGI apps, so that the mouse cursor changes over splitters, and other active areas of various widgets.

So I discovered XDefineCursor pretty quickly, and it works just fine to change the cursor.

Then comes trying to reset it back to the normal system arrow, and according to the docs you just:
XDefineCursor(Display, Widget, None);
Yeah right. Well THAT didn't work. Crummy implementation, or bad docs, I don't know but the end result is that the cursor just inverts all it's pixels when I try and change it back to the normal arrow. And XUndefineCursor does the same thing before you post some rebuttal in the forums ;)

Stupid X. Bring on Y!
Email (optional): (Will be HTML encoded to evade harvesting)
Remember username and/or email in a cookie.
Notify me of new posts in this thread via email.