1 XISETCLIENTPOINTER(libmansuffix)
2 ================================
7 XISetClientPointer, XIGetClientPointer - set or get the
13 #include <X11/extensions/XInput2.h>
15 XISetClientPointer( Display *display,
19 Bool XIGetClientPointer( Display *display,
24 Specifies the connection to the X server.
27 Specifies a window belonging to the client. May be None.
30 Specifies the ClientPointer device.
35 The ClientPointer is the device that is percieved to be the
36 core pointer for non-XI protocol requests and replies. Each
37 time a protocol message needs device-dependent data and the
38 device is not explicitly given, the ClientPointer device is
39 used to obtain the data. For example, a XQueryPointer request
40 will return the coordinates of the ClientPointer.
42 XISetClientPointer request sets the ClientPointer device for
43 the client that owns the given window. If win is None, the
44 requesting client's ClientPointer is set to the device
45 specified with deviceid. Only master pointer devices can be set
48 XISetClientPointer and can generate a BadDevice and a BadWindow
51 The XIGetClientPointer request returns the ClientPointer's
52 device ID for the client that owns the given window. If win is
53 None, the requesting client's ClientPointer is returned.
55 win may be a client ID instead of a window.
57 XIGetClientPointer can generate a BadWindow error.
63 An invalid device was specified. The device does not
64 exist or is not a master pointer device.
67 A value for a Window argument does not name a defined