2 .\" Title: xchangedevicedontpropagatelist
3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
6 .\" Manual: [FIXME: manual]
7 .\" Source: [FIXME: source]
10 .TH "XCHANGEDEVICEDONTPRO" "libmansuffix" "09/07/2010" "[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 XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList \- query or change the dont\-propagate\-list for extension devices
26 #include <X11/extensions/XInput\&.h>
30 int XChangeDeviceDontPropagateList( Display *display,
33 XEventClass *event_list,
38 XEventClass* XGetDeviceDontPropagateList( Display *display,
45 Specifies the connection to the X server\&.
50 Specifies the window whose dont\-propagate\-list is to be
51 queried or modified\&.
56 Specifies a pointer to a list of event classes\&.
61 Specifies the mode\&.You can pass AddToList, or
67 Specifies the number of event classes in the list\&.
75 The XChangeDeviceDontPropagateList request modifies the list of
76 events that should not be propagated to ancestors of the event
77 window\&. This request allows extension events to be added to or
78 deleted from that list\&. By default, all events are propagated
79 to ancestor windows\&. Once modified, the list remains modified
80 for the life of the window\&. Events are not removed from the
81 list because the client that added them has terminated\&.
91 Suppression of event propagation is not allowed for all input
92 extension events\&. If a specified event class is one that cannot
93 be suppressed, a BadClass error will result\&. Events that can be
94 suppressed include DeviceKeyPress, DeviceKeyRelease,
95 DeviceButtonPress, DeviceButtonRelease, DeviceMotionNotify,
96 ProximityIn, and ProximityOut\&.
106 XChangeDeviceDontPropagateList can generate a BadDevice,
107 BadClass, or BadValue error\&.
117 The XGetDeviceDontPropagateList request queries the list of
118 events that should not be propagated to ancestors of the event
129 XGetDeviceDontPropagateList can generate a BadClass or
142 An invalid device was specified\&. The specified device
143 does not exist or has not been opened by this client via
144 XOpenInputDevice\&. This error may also occur if some
145 other client has caused the specified device to become
146 the X keyboard or X pointer device via the
147 XChangeKeyboardDevice or XChangePointerDevice requests\&.
158 Some numeric value falls outside the range of values
159 accepted by the request\&. Unless a specific range is
160 specified for an argument, the full range defined by the
161 argument\'s type is accepted\&. Any argument defined as a
162 set of alternatives can generate this error\&.
173 An invalid window id was specified\&.
184 An invalid event class was specified\&.