.TH xcb_ungrab_button 3  "libxcb 1.13.1" "X Version 11" "XCB Requests"
.ad l
.SH NAME
xcb_ungrab_button \- 
.SH SYNOPSIS
.hy 0
.B #include <xcb/xproto.h>
.SS Request function
.HP
xcb_void_cookie_t \fBxcb_ungrab_button\fP(xcb_connection_t\ *\fIconn\fP, uint8_t\ \fIbutton\fP, xcb_window_t\ \fIgrab_window\fP, uint16_t\ \fImodifiers\fP);
.br
.hy 1
.SH REQUEST ARGUMENTS
.IP \fIconn\fP 1i
The XCB connection to X11.
.IP \fIbutton\fP 1i
One of the following values:
.RS 1i
.IP \fIXCB_BUTTON_INDEX_ANY\fP 1i
Any of the following (or none):
.IP \fIXCB_BUTTON_INDEX_1\fP 1i
The left mouse button.
.IP \fIXCB_BUTTON_INDEX_2\fP 1i
The right mouse button.
.IP \fIXCB_BUTTON_INDEX_3\fP 1i
The middle mouse button.
.IP \fIXCB_BUTTON_INDEX_4\fP 1i
Scroll wheel. TODO: direction?
.IP \fIXCB_BUTTON_INDEX_5\fP 1i
Scroll wheel. TODO: direction?
.RE
.RS 1i
TODO: NOT YET DOCUMENTED.
.RE
.IP \fIgrab_window\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fImodifiers\fP 1i
TODO: NOT YET DOCUMENTED.
.SH DESCRIPTION
.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_button_checked\fP. See \fBxcb-requests(3)\fP for details.
.SH ERRORS
This request does never generate any errors.
.SH SEE ALSO
.SH AUTHOR
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
