xcb_ungrab_pointer (3) - Linux Man Pages
xcb_ungrab_pointer: release the pointer
xcb_ungrab_pointer - release the pointer
- xcb_void_cookie_t xcb_ungrab_pointer(xcb_connection_t
*conn, xcb_timestamp_t time);
- The XCB connection to X11.
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.
DESCRIPTIONReleases 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.
RETURN VALUEReturns 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_pointer_checked. See xcb-requests(3) for details.
ERRORSThis request does never generate any errors.
AUTHORGenerated from xproto.xml. Contact xcb [at] lists.freedesktop.org for corrections and improvements.