Manual Pages for Linux CentOS command on man XWarpPointer
MyWebUniversity

Manual Pages for Linux CentOS command on man XWarpPointer

XWarpPointer(3) XLIB FUNCTIONS XWarpPointer(3)

NAME

XWarpPointer - move pointer SYNTAX int XWarpPointer(Display *display, Window srcw, Window destw, int srcx, int srcy, unsigned int srcwidth, unsigned int srcheight, int destx, int desty); ARGUMENTS destw Specifies the destination window or None. destx desty Specify the x and y coordinates within the destination win‐ dow. display Specifies the connection to the X server. srcx srcy srcwidth srcheight Specify a rectangle in the source window. srcw Specifies the source window or None. DESCRIPTION If destw is None, XWarpPointer moves the pointer by the offsets (destx, desty) relative to the current position of the pointer. If destw is a window, XWarpPointer moves the pointer to the offsets (destx, desty) relative to the origin of destw. However, if srcw is a window, the move only takes place if the window srcw contains the pointer and if the specified rectangle of srcw contains the pointer. The srcx and srcy coordinates are relative to the origin of srcw. If srcheight is zero, it is replaced with the current height of srcw minus srcy. If srcwidth is zero, it is replaced with the current width of srcw minus srcx. There is seldom any reason for calling this function. The pointer should normally be left to the user. If you do use this function, how‐ ever, it generates events just as if the user had instantaneously moved the pointer from one position to another. Note that you cannot use XWarpPointer to move the pointer outside the confineto window of an active pointer grab. An attempt to do so will only move the pointer as far as the closest edge of the confineto window. XWarpPointer can generate a BadWindow error. DIAGNOSTICS BadWindow A value for a Window argument does not name a defined Window. SEE ALSO XSetInputFocus(3)

Xlib - C Language X Interface X Version 11 libX11 1.6.5 XWarpPointer(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™