glutWarpPointer (3) - Linux Manuals
glutWarpPointer: Moves the mouse pointer to given window coordinates.
NAME
glutWarpPointer - Moves the mouse pointer to given window coordinates.LIBRARY
OpenGLUT - windowSYNOPSIS
In openglut.h Ft void Fn glutWarpPointer int x int yPARAMETERS
Bf Em
Bf Em
Not applicable for
Bf Sy
Warping means moving, just as if the user had manually moved the mouse. This can generate mouse-motion callbacks. If your callback then moves the pointer again, you may end up in an endless loop. There is some discussion about changing this, but at present this is just a caveat for you, the user, to be aware of.
DESCRIPTION
glutWarpPointer() moves the mouse pointer to window-relative
coordinates given by
Bf Sy
CAVEATS
Bf Sy