Go to the first, previous, next, last section, table of contents.

# Event Handling

Events are sent from the X server to the X client. Most of the event types deal with user input, but there are also event types used for inter-client communication.

Most X applications are built around an event loop, where the client waits for the server to send events. The client responds to the events, typically by doing one or more X requests.

- Getting Events: Waiting for events.
- Selecting Events: Selecting interesting events.
- Event Types: Details on all event types.
- Sending Events: Clients sending events to other clients.

Go to the first, previous, next, last section, table of contents.