Function x11rb::protocol::xproto::ungrab_pointer

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

release the pointer.

Releases the pointer and any queued events if you actively grabbed the pointer before using xcb_grab_pointer, xcb_grab_button or within a normal button press.

EnterNotify and LeaveNotify events are generated.

§Fields

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

The pointer will not be released if time is earlier than the last-pointer-grab time or later than the current X server time.

  • name_len - Length (in bytes) of name.
  • name - A pattern describing an X core font.

§See

  • GrabPointer: request
  • GrabButton: request
  • EnterNotify: event
  • LeaveNotify: event