CURSOR problem

I’m using glut, linux. I could hide the cursor ( glutSetCursor ( GLUT_CURSOR_NONE ); ), but i couldn’t keep it in the middle because:

I want the watch when user’s moving the cursor, but the edges of the screen causes problems. Is there any solution for set the cursor always to the middle of the screen? I’ve been through many glut sites but found only cursor’s shape’s settings. Thanks for the future.

there is this

http://pyopengl.sourceforge.net/documentation/manual/glutWarpPointer.3GLUT.html

but be sure to have an alternate window close route! :slight_smile:

your my faithfully, not that who couldnt name this glutSetCursorPosition or something like this. Thx :smiley: