Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XSelectInput(3X) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought




XSelectInput(3X) XSelectInput(3X)
NAME XSelectInput - selects input events SYNOPSIS XSelectInput (display, w, event-mask) Display *display; Window w; unsigned long event-mask; DESCRIPTION The XSelectInput function requests that the X server report the events associated with the event masks passed to the event-mask argument. Initially, X does not report any of these events. Events are reported relative to a window. If a window is not interested in a device event, it usually propagates to the closest ancestor that is interested, un- less the do_not_propagate_mask member prohibits it. Setting the event mask attribute of a window overrides any previous call for the same window but not for other clients. Multiple clients can select for the same events on the same window with the following restrictions: Multiple clients can select events on the same window because their event masks are disjoint. When the X server generates an event, it reports it to all in- terested clients. Only one client at a time can select CirculateRequest, ConfigureRequest, or MapRequest events, which are asso- ciated with the event mask SubstructureRedirectMask. Only one client at a time can select a ResizeRequest event, which is associated with the event mask ResizeRedirectMask. Only one client at a time can select a ButtonPress event, which is associated with the event mask ButtonPressMask. The server reports the event to all interested clients. Arguments These functions accept the following arguments: display Specifies the connection to the X server. November, 1990 1



XSelectInput(3X) XSelectInput(3X)
event-mask Specifies the event mask. This mask is the bitwise inclusive OR of one or more of the valid event mask bits. w Specifies the window ID. ERRORS BadWindow A value for a Window argument does not name a de- fined window. The XSelectInput function can generate a BadWindow error. SEE ALSO Xlib - C Language Interface 2 November, 1990

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