XSelectInput(3X) — X Version 11
NAME
XSelectInput − select input events
SYNTAX
XSelectInput(display, w, event_mask)
Display ∗display;
Window w;
unsigned long event_mask;
ARGUMENTS
displaySpecifies the connection to the X server.
event_maskSpecifies the event mask. This mask is the bitwise inclusive OR of one or more of the valid event mask bits.
wSpecifies the window ID.
DESCRIPTION
The XSelectInput function requests that the X server report the events associated with the event masks that you pass to the event_mask argument. .PN XSelectInput can generate BadValue and BadWindow errors.
DIAGNOSTICS
BadValue Some numeric value falls outside the range of values accepted by the request. Unless a specific range is specified for an argument, the full range defined by the argument’s type is accepted. Any argument defined as a set of alternatives can generate this error.
BadWindow A value for a Window argument does not name a defined Window.
SEE ALSO
Xlib − C Language X Interface
1 March 1988