XChangeDeviceDontPropagateList(), XGetDeviceDontPropagateList() - query or change the dont-propagate-list for extension devices
XChangeDeviceDontPropagateList (Display *display, Window *window,
int *count, XEventClass *event_list,
int mode)
XEventClass *XGetDeviceDontPropagateList (Display *display,
Window *window,
int *count)
The XChangeDeviceDontPropagateList(3) request modifies the list of events that should not be propagated to ancestors of the event window. This request allows extension events to be added to or deleted from that list. By default, all events are propagated to ancestor windows. Once modified, the list remains modified for the life of the window. Events are not removed from the list because the client that added them has terminated.
Suppression of event propagation is not allowed for all input extension events. If a specified event class is one that cannot be suppressed, a BadClass error will result. Events that can be suppressed include DeviceKeyPress, DeviceKeyRelease, DeviceButtonPress, DeviceButtonRelease, DeviceMotionNotify, ProximityIn, and ProximityOut.
XChangeDeviceDontPropagateList(3) can generate a BadDevice, BadClass, or BadValue error.
The XGetDeviceDontPropagateList(3) request queries the list of events that should not be propagated to ancestors of the event window.
XGetDeviceDontPropagateList(3) can generate a BadClass or BadWindow error.
Programming With Xlib