1XCHANGEDEVICEDONTPRO(3)                                XCHANGEDEVICEDONTPRO(3)
2
3
4

NAME

6       XChangeDeviceDontPropagateList, XGetDeviceDontPropagateList - query or
7       change the dont-propagate-list for extension devices
8

SYNOPSIS

10       #include <X11/extensions/XInput.h>
11
12       int XChangeDeviceDontPropagateList( Display *display,
13                                           Window window,
14                                           int count,
15                                           XEventClass *event_list,
16                                           int mode);
17
18       XEventClass* XGetDeviceDontPropagateList( Display *display,
19                                                 Window window,
20                                                 int *count);
21
22       display
23              Specifies the connection to the X server.
24
25       window
26              Specifies the window whose dont-propagate-list is to be
27              queried or modified.
28
29       event_list
30              Specifies a pointer to a list of event classes.
31
32       mode
33              Specifies the mode. You can pass AddToList, or
34              DeleteFromList.
35
36       count
37              Specifies the number of event classes in the list.
38

DESCRIPTION

40           The XChangeDeviceDontPropagateList request modifies the list of
41           events that should not be propagated to ancestors of the event
42           window. This request allows extension events to be added to or
43           deleted from that list. By default, all events are propagated
44           to ancestor windows. Once modified, the list remains modified
45           for the life of the window. Events are not removed from the
46           list because the client that added them has terminated.
47
48           Suppression of event propagation is not allowed for all input
49           extension events. If a specified event class is one that cannot
50           be suppressed, a BadClass error will result. Events that can be
51           suppressed include DeviceKeyPress, DeviceKeyRelease,
52           DeviceButtonPress, DeviceButtonRelease, DeviceMotionNotify,
53           ProximityIn, and ProximityOut.
54
55           XChangeDeviceDontPropagateList can generate a BadDevice,
56           BadClass, or BadValue error.
57
58           The XGetDeviceDontPropagateList request queries the list of
59           events that should not be propagated to ancestors of the event
60           window.
61
62           XGetDeviceDontPropagateList can generate a BadClass or
63           BadWindow error.
64

DIAGNOSTICS

66           BadDevice
67                  An invalid device was specified. The specified device
68                  does not exist or has not been opened by this client via
69                  XOpenInputDevice. This error may also occur if some
70                  other client has caused the specified device to become
71                  the X keyboard or X pointer device via the
72                  XChangeKeyboardDevice or XChangePointerDevice requests.
73
74           BadValue
75                  Some numeric value falls outside the range of values
76                  accepted by the request. Unless a specific range is
77                  specified for an argument, the full range defined by the
78                  argument's type is accepted. Any argument defined as a
79                  set of alternatives can generate this error.
80
81           BadWindow
82                  An invalid window id was specified.
83
84           BadClass
85                  An invalid event class was specified.
86
87
88
89                                  09/15/2021           XCHANGEDEVICEDONTPRO(3)
Impressum