Function x11rb::protocol::xproto::ungrab_pointer
source · pub fn ungrab_pointer<Conn, A>(
conn: &Conn,
time: A
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
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) ofname
.name
- A pattern describing an X core font.
See
GrabPointer
: requestGrabButton
: requestEnterNotify
: eventLeaveNotify
: event