Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XFilterEvent(3X11) — OSF/1 X2.0-8 MIPS

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XNextEvent(3X11)

XFilterEvent(3X11)  —  Subroutines

X11R5

NAME

XFilterEvent − filter X events for an input method

SYNOPSIS

Bool XFilterEvent(event, w)
   XEvent ∗event;
   Window w;

PARAMETERS

eventSpecifies the event to filter. 

wSpecifies the window for which the filter is to be applied. 

DESCRIPTION

If the window argument is None, XFilterEvent applies the filter to the window specified in the 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 XFilterEvent returns True, then some input method has filtered the event, and the client should discard the event. If XFilterEvent returns False, then the client should continue processing the event.

If a grab has occurred in the client, and XFilterEvent returns True, the client should ungrab the keyboard.

RELATED INFORMATION

XNextEvent(3X11)
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026