1. NAME

XAllowEvents - release queued events

2. SYNTAX

int XAllowEvents(Display *display, int event_mode, Time time);

3. ARGUMENTS

display 1i Specifies the connection to the X server.

event_mode 1i Specifies the event mode. You can pass .ZN AsyncPointer , .ZN SyncPointer , .ZN AsyncKeyboard , .ZN SyncKeyboard , .ZN ReplayPointer , .ZN ReplayKeyboard , .ZN AsyncBoth , or .ZN SyncBoth .

time 1i Specifies the time. You can pass either a timestamp or .ZN CurrentTime .

4. DESCRIPTION

The .ZN 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.

.ZN XAllowEvents can generate a .ZN BadValue error.

5. DIAGNOSTICS

  • .ZN 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.

6. SEE ALSO

\*(xL