XAllowEvents(3) XLIB FUNCTIONS XAllowEvents(3)

# [NAME](#NAME)

XAllowEvents - release queued events

# [SYNTAX](#SYNTAX)

int XAllowEvents(Display \**display*, int *event\_mode*, Time *time*);

# [ARGUMENTS](#ARGUMENTS)

[*display*](#display)

Specifies the connection to the X server.

[*event\_mode*](#event_mode)

Specifies the event mode. You can pass **AsyncPointer**, **SyncPointer**, **AsyncKeyboard**, **SyncKeyboard**, **ReplayPointer**, **ReplayKeyboard**, **AsyncBoth**, or **SyncBoth**.

[*time*](#time)

Specifies the time. You can pass either a timestamp or **CurrentTime**.

# [DESCRIPTION](#DESCRIPTION)

The **XAllowEvents** function releases some queued events if the client has caused a device to freeze. It has no effect if the specified time is earlier than the last-grab time of the most recent active grab for the client or if the specified time is later than the current X server time.

**XAllowEvents** can generate a **BadValue** error.

# [DIAGNOSTICS](#DIAGNOSTICS)

[**BadValue**](#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.

# [SEE ALSO](#SEE_ALSO)

*Xlib - C Language X Interface*

libX11 1.8.14 X Version 11

---

Document: XAllowEvents(3) from libx11 1.8.14-r4 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libx11.git
