1XFilterEvent(3) XLIB FUNCTIONS XFilterEvent(3)
2
3
4
6 XFilterEvent - filter X events for an input method
7
9 Bool XFilterEvent(XEvent *event, Window w);
10
12 event Specifies the event to filter.
13
14 w Specifies the window for which the filter is to be applied.
15
17 If the window argument is None, XFilterEvent applies the filter to the
18 window specified in the XEvent structure. The window argument is pro‐
19 vided so that layers above Xlib that do event redirection can indicate
20 to which window an event has been redirected.
21
22 If XFilterEvent returns True, then some input method has filtered the
23 event, and the client should discard the event. If XFilterEvent re‐
24 turns False, then the client should continue processing the event.
25
26 If a grab has occurred in the client and XFilterEvent returns True, the
27 client should ungrab the keyboard.
28
30 XNextEvent(3)
31 Xlib - C Language X Interface
32
33
34
35X Version 11 libX11 1.8.1 XFilterEvent(3)