x11rb::protocol::xproto

Function allow_events

Source
pub fn allow_events<Conn, A>(
    conn: &Conn,
    mode: Allow,
    time: A,
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized, A: Into<Timestamp>,
Expand description

release queued events.

Releases queued events if the client has caused a device (pointer/keyboard) to freeze due to grabbing it actively. This request has no effect if time is earlier than the last-grab time of the most recent active grab for this client or if time is later than the current X server time.

§Fields

  • mode -
  • time - Timestamp to avoid race conditions when running X over the network.

The special value XCB_CURRENT_TIME will be replaced with the current server time.

§Errors

  • Value - You specified an invalid mode.