'\" t .TH xcb_ungrab_pointer 3xcb 2012-03-26 "XCB" "XCB Requests" .ad l .SH NAME xcb_ungrab_pointer \- release the pointer .SH SYNOPSIS .nf \fBcc\fR [ \fIflag\fR\&.\&.\&. ] \fIfile\fR\&.\&.\&. \fB\-lxcb\fR [ \fIlibrary\fR\&.\&.\&. ] .fi .sp .nf \fBcc\fR [ \fIflag\fR\&.\&.\&. ] `pkg-config --cflags *` \fIfile\fR\&.\&.\&. `pkg-config --libs *` .fi .hy 0 .B #include .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. .\" Begin Oracle Solaris update .SH "ATTRIBUTES" See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS allbox; cw(2.750000i)| cw(2.750000i) lw(2.750000i)| lw(2.750000i). ATTRIBUTE TYPE ATTRIBUTE VALUE Availability x11/library/libxcb Interface Stability Volatile MT-Level Safe .TE .sp .\" End Oracle Solaris update