2
.\" Title: xidefinecursor
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 "XIDEFINECURSOR" "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
XIDefineCursor, XIUndefineCursor \- define device cursors\&.
26
#include <X11/extensions/XInput2\&.h>
30
int XIDefineCursor( Display *display,
37
int XIUndefineCursor( Display *display,
44
Specifies the cursor that is to be displayed or None\&.
49
Specifies the device whose cursor is to change\&.
54
Specifies the connection to the X server\&.
59
Specifies the window\&.
67
If a cursor is set, it will be used when the device\'s pointer
68
is in the window\&. If the cursor is None, it is equivalent to
79
The deviceid must be a master pointer device or a BadDevice error is
90
XIDefineCursor can generate BadDevice, BadCursor and BadWindow\&.
100
The XIUndefineCursor function undoes the effect of a previous
101
XIDefineCursor for this window\&. When the pointer is in the
102
window, the window\'s default cursor will now be used\&. If no
103
default cursor is defined, the parent\'s cursor for this device
104
will be used (if defined) or the parent\'s default cursor will
115
XIDefineCursor and XIUndefineCursor are identical to
116
XDefineCursor and XUndefineCursor but specify the device
127
XIUndefineCursor can generate a BadDevice and a BadWindow
140
A value for a cursor argument does not name a defined
152
An invalid device was specified\&. The device does not
153
exist or is not a pointer device\&.
164
A value for a Window argument does not name a defined
177
XDefineCursor, XUndefineCursor