warp_pointer/8
warp_pointer(+SrcWindow, +DestWindow, +SrcX, +\SrcY, +SrcW, +SrcH, +DestX, +DestY)
Moves the pointer to the coordinates specified by DestX and DestY, relative to DestWindow's origin. It generates events just as if the user had moved the pointer.
SrcWindow is one of:
none
DestWindow is one of:
none
SrcX, SrcY, SrcW, SrcH are integers that specify the region, if any, inside SrcWindow where the pointer must be prior to the move.
DestX, DestY are integers giving the coordinates of the final pointer destination.
warp_pointer/8
allows a lot of freedom for specifying pointer
movements, but its use is rarely necessary because
put_pointer_attributes/2
handles
the usual cases.