1 XCHANGEDEVICEDONTPROPAGATELIST(libmansuffix)
2 ============================================
7 XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList -
8 query or change the dont-propagate-list for extension devices
13 #include <X11/extensions/XInput.h>
15 int XChangeDeviceDontPropagateList( Display *display,
18 XEventClass *event_list,
21 XEventClass* XGetDeviceDontPropagateList( Display *display,
26 Specifies the connection to the X server.
29 Specifies the window whose dont-propagate-list is to be
33 Specifies a pointer to a list of event classes.
36 Specifies the mode.You can pass AddToList, or
40 Specifies the number of event classes in the list.
45 The XChangeDeviceDontPropagateList request modifies the list of
46 events that should not be propagated to ancestors of the event
47 window. This request allows extension events to be added to or
48 deleted from that list. By default, all events are propagated
49 to ancestor windows. Once modified, the list remains modified
50 for the life of the window. Events are not removed from the
51 list because the client that added them has terminated.
53 Suppression of event propagation is not allowed for all input
54 extension events. If a specified event class is one that cannot
55 be suppressed, a BadClass error will result. Events that can be
56 suppressed include DeviceKeyPress, DeviceKeyRelease,
57 DeviceButtonPress, DeviceButtonRelease, DeviceMotionNotify,
58 ProximityIn, and ProximityOut.
60 XChangeDeviceDontPropagateList can generate a BadDevice,
61 BadClass, or BadValue error.
63 The XGetDeviceDontPropagateList request queries the list of
64 events that should not be propagated to ancestors of the event
67 XGetDeviceDontPropagateList can generate a BadClass or
74 An invalid device was specified. The specified device
75 does not exist or has not been opened by this client via
76 XOpenInputDevice. This error may also occur if some
77 other client has caused the specified device to become
78 the X keyboard or X pointer device via the
79 XChangeKeyboardDevice or XChangePointerDevice requests.
82 Some numeric value falls outside the range of values
83 accepted by the request. Unless a specific range is
84 specified for an argument, the full range defined by the
85 argument's type is accepted. Any argument defined as a
86 set of alternatives can generate this error.
89 An invalid window id was specified.
92 An invalid event class was specified.