PDA

View Full Version : Hiding Mouse Cursor



navand
03-03-2008, 11:46 AM
Hi all
I am trying to use glx/Opengl. I need to hide the mouse when its over the opengl window. For my test program I used glutSetCursor(GLUT_CURSOR_NONE);
while I am not using glut for my new design. Kindly let me know how to hide the cursor using X/glX/OpenGL.

Thanks
Navin

navand
03-03-2008, 01:35 PM
I found one solution. I am using
XDefineCursor(Display, Window, blankCursor), and define the blankCursor.

Is there something better than this ?