XFilterEvent - filter X events for an input method
Bool XFilterEvent(XEvent *event, Window w);
Specifies the event to filter.
Specifies the window for which the filter is to be applied.
If the window argument is
applies the filter to the window specified in the
The window argument is provided so that layers above Xlib
that do event redirection can indicate to which window an event
has been redirected.
then some input method has filtered the event,
and the client should discard the event.
then the client should continue processing the event.
If a grab has occurred in the client and
the client should ungrab the keyboard.