XFilterEvent - filter X events for an input method
2. SYNTAX ▲
Bool XFilterEvent(XEvent *event, Window w);
3. ARGUMENTS ▲
event 1i Specifies the \*(Ev.
w 1i Specifies the window \*(Wi.
4. DESCRIPTION ▲
If the window argument is .ZN None , .ZN XFilterEvent applies the filter to the window specified in the .ZN XEvent structure. The window argument is provided so that layers above Xlib that do event redirection can indicate to which window an event has been redirected.
If .ZN XFilterEvent returns .ZN True , then some input method has filtered the event, and the client should discard the event. If .ZN XFilterEvent returns .ZN False , then the client should continue processing the event.
If a grab has occurred in the client and .ZN XFilterEvent returns .ZN True , the client should ungrab the keyboard.
5. SEE ALSO ▲