Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (37 sloc) 1.399 kb
.TH xcb_ungrab_pointer 3 2011-12-18 "XCB" "XCB Requests"
.ad l
.SH NAME
xcb_ungrab_pointer \- release the pointer
.SH SYNOPSIS
.hy 0
.B #include <xcb/xproto.h>
.SS Request function
.HP
xcb_void_cookie_t \fBxcb_ungrab_pointer\fP(xcb_connection_t\ *\fIconn\fP, xcb_timestamp_t\ \fItime\fP);
.br
.hy 1
.SH REQUEST ARGUMENTS
.IP \fIconn\fP 1i
The XCB connection to X11.
.IP \fItime\fP 1i
Timestamp to avoid race conditions when running X over the network.
The pointer will not be released if \fItime\fP is earlier than the
last-pointer-grab time or later than the current X server time.
.SH DESCRIPTION
Releases the pointer and any queued events if you actively grabbed the pointer
before using \fIxcb_grab_pointer\fP, \fIxcb_grab_button\fP or within a normal button
press.
EnterNotify and LeaveNotify events are generated.
.SH RETURN VALUE
Returns an \fIxcb_void_cookie_t\fP. Errors (if any) have to be handled in the event loop.
If you want to handle errors directly with \fIxcb_request_check\fP instead, use \fIxcb_ungrab_pointer_checked\fP. See \fBxcb-requests(3)\fP for details.
.SH ERRORS
This request does never generate any errors.
.SH SEE ALSO
.BR xcb-requests (3),
.BR xcb_grab_pointer (3),
.BR xcb_grab_button (3),
.BR xcb_enter_notify_event_t (3),
.BR xcb_leave_notify_event_t (3)
.SH AUTHOR
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
Jump to Line
Something went wrong with that request. Please try again.