xcb_ungrab_button man page

xcb_ungrab_button —

Synopsis

#include <xcb/xproto.h>

Request function

xcb_void_cookie_t xcb_ungrab_button(xcb_connection_t *conn, uint8_t button, xcb_window_t grab_window, uint16_t modifiers);

Request Arguments

conn
The XCB connection to X11.
button

One of the following values:

XCB_BUTTON_INDEX_ANY
Any of the following (or none):
XCB_BUTTON_INDEX_1
The left mouse button.
XCB_BUTTON_INDEX_2
The right mouse button.
XCB_BUTTON_INDEX_3
The middle mouse button.
XCB_BUTTON_INDEX_4
Scroll wheel. TODO: direction?
XCB_BUTTON_INDEX_5
Scroll wheel. TODO: direction?

TODO: NOT YET DOCUMENTED.

grab_window
TODO: NOT YET DOCUMENTED.
modifiers
TODO: NOT YET DOCUMENTED.

Return Value

Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop.

If you want to handle errors directly with xcb_request_check instead, use xcb_ungrab_button_checked. See xcb-requests(3) for details.

Errors

This request does never generate any errors.

Author

Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.

Referenced By

xcb_ungrab_button_checked(3) is an alias of xcb_ungrab_button(3).

libxcb 1.12 X Version 11 XCB Requests