2 .\" Title: xisetclientpointer
3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
6 .\" Manual: [FIXME: manual]
7 .\" Source: [FIXME: source]
10 .TH "XISETCLIENTPOINTER" "libmansuffix" "09/23/2011" "[FIXME: source]" "[FIXME: manual]"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 XISetClientPointer, XIGetClientPointer \- set or get the ClientPointer device\&.
35 #include <X11/extensions/XInput2\&.h>
39 XISetClientPointer( Display *display,
45 Bool XIGetClientPointer( Display *display,
52 Specifies the connection to the X server\&.
57 Specifies a window belonging to the client\&. May be None\&.
62 Specifies the ClientPointer device\&.
70 The ClientPointer is the device that is percieved to be the
71 core pointer for non\-XI protocol requests and replies\&. Each
72 time a protocol message needs device\-dependent data and the
73 device is not explicitly given, the ClientPointer device is
74 used to obtain the data\&. For example, a XQueryPointer request
75 will return the coordinates of the ClientPointer\&.
85 XISetClientPointer request sets the ClientPointer device for
86 the client that owns the given window\&. If win is None, the
87 requesting client\*(Aqs ClientPointer is set to the device
88 specified with deviceid\&. Only master pointer devices can be set
99 XISetClientPointer and can generate a BadDevice and a BadWindow
110 The XIGetClientPointer request returns the ClientPointer\*(Aqs
111 device ID for the client that owns the given window\&. If win is
112 None, the requesting client\*(Aqs ClientPointer is returned\&.
122 win may be a client ID instead of a window\&.
132 XIGetClientPointer can generate a BadWindow error\&.
144 An invalid device was specified\&. The device does not
145 exist or is not a master pointer device\&.
156 A value for a Window argument does not name a defined