Thank you for your interest in "freeglut" and for your bug fix. I
believe that the bug has already been fixed in the current CVS version =
"freeglut", although it did not make it into the last release.
John F. Fay
Technical Fellow, Jacobs/Sverdrup TEAS Group
[mailto:freeglut-bugs-admin@...] On Behalf Of Vilhelm
Sent: Wednesday, September 14, 2005 7:47 PM
Subject: [Freeglut-bugs] Bug regarding GLUT_CURSOR_INHERIT
In the stable Freeglut 2.4.0 release, there is a bug in the mouse =
setting code. Setting the cursor to GLUT_CURSOR_INHERIT will terminate=20
the program with the error message "Failed to create cursor".
The expected behaviour is that the mouse cursor of the current window=20
should change to that of the parent window.
I attach a patch fixing this bug. Note that calling XDefineCursor with=20
cursor=3D=3DNone is safe and does exactly the required thing, so the =
was simply in the wrong place.
Vilhelm Sj=F6berg : Aroo! Aroo! *gnarfle*
vilhelm@... : http://kevan.org/brain.cgi?Vilhelm
Get latest updates about Open Source Projects, Conferences and News.