2
.\" Title: xisetclientpointer
3
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4
.\" Generator: DocBook XSL Stylesheets v1.74.3 <http://docbook.sf.net/>
6
.\" Manual: [FIXME: manual]
7
.\" Source: [FIXME: source]
10
.TH "XISETCLIENTPOINTER" "libmansuffix" "10/02/2009" "[FIXME: source]" "[FIXME: manual]"
11
.\" -----------------------------------------------------------------
12
.\" * set default formatting
13
.\" -----------------------------------------------------------------
14
.\" disable hyphenation
16
.\" disable justification (adjust text to left margin only)
18
.\" -----------------------------------------------------------------
19
.\" * MAIN CONTENT STARTS HERE *
20
.\" -----------------------------------------------------------------
22
XISetClientPointer, XIGetClientPointer \- set or get the ClientPointer device\&.
26
#include <X11/extensions/XInput2\&.h>
30
XISetClientPointer( Display *display,
36
Bool XIGetClientPointer( Display *display,
43
Specifies the connection to the X server\&.
48
Specifies a window belonging to the client\&. May be None\&.
53
Specifies the ClientPointer device\&.
61
The ClientPointer is the device that is percieved to be the
62
core pointer for non\-XI protocol requests and replies\&. Each
63
time a protocol message needs device\-dependent data and the
64
device is not explicitly given, the ClientPointer device is
65
used to obtain the data\&. For example, a XQueryPointer request
66
will return the coordinates of the ClientPointer\&.
76
XISetClientPointer request sets the ClientPointer device for
77
the client that owns the given window\&. If win is None, the
78
requesting client\'s ClientPointer is set to the device
79
specified with deviceid\&. Only master pointer devices can be set
90
XISetClientPointer and can generate a BadDevice and a BadWindow
101
The XIGetClientPointer request returns the ClientPointer\'s
102
device ID for the client that owns the given window\&. If win is
103
None, the requesting client\'s ClientPointer is returned\&.
113
win may be a client ID instead of a window\&.
123
XIGetClientPointer can generate a BadWindow error\&.
135
An invalid device was specified\&. The device does not
136
exist or is not a master pointer device\&.
147
A value for a Window argument does not name a defined