XChangePointerDevice(3X11) | X FUNCTIONS | XChangePointerDevice(3X11) |
Status XChangePointerDevice(Display *display, XDevice * device, int xaxis, int yaxis);
If the specified device is grabbed by another client, AlreadyGrabbed is returned. If the specified device is frozen by a grab on another device, GrabFrozen is returned. If the request is successful, Success is returned.
If the request succeeds, a ChangeDeviceNotify event is sent to all clients that have selected that event. A MappingNotify event with request = MappingPointer is sent to all clients. The specified device becomes the X pointer, and the old X pointer becomes accessible through the input extension protocol requests.
XChangePointerDevice can generate a BadDevice or a BadMatch error.
XFree86 | 4.5.0 |