glutwarppointer(3) centos man page | unix.com

Man Page: glutwarppointer

Operating Environment: centos

Section: 3

UNTITLED
LOCAL UNTITLED
NAME
glutWarpPointer -- Moves the mouse pointer to given window coordinates.
LIBRARY
OpenGLUT - window
SYNOPSIS
#include <openglut.h> void glutWarpPointer(int x, int y);
PARAMETERS
x Window X coord for mouse. y Window Y coord for mouse.
DESCRIPTION
glutWarpPointer() moves the mouse pointer to window-relative coordinates given by x and y.
CAVEATS
x and y are relative to current window. Not applicable for GLUT_OFFSCREEN windows. 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. Epoch
Related Man Pages
xquerypointer(3) - centos
glutmousefunc(3glut) - mojave
glutcreatemenuwindow(3) - centos
glutmousefunc(3) - centos
glutsetwindow(3) - centos
Similar Topics in the Unix Linux Community
Best performance UNIX just for HOST Virtualization?
How to increment version inside a file?
DB2 convert digits to binary format
CentOS 6 ran out of space, need to reclaim it
Please Welcome Dave Munro to the Moderator Team!