Change mouse programatically

Hi All,
I wanted to know how do, I change my mouse position on a GL window programatically, especially on Linux. DO I need to use some X functions, can you please point to me one. What about MS Windows ?

Thanks
DM

Hi !

OpenGL does not know about the mouse so yes you have to use OS specific code to change the cursor position, SetCursorPosition( x,y,flags) (look it up on msdn) on Windows, I do not remember the function name on X, check the xlib documentation.

Mikael