1xcb_ungrab_pointer(3)            XCB Requests            xcb_ungrab_pointer(3)
2
3
4

NAME

6       xcb_ungrab_pointer - release the pointer
7

SYNOPSIS

9       #include <xcb/xproto.h>
10
11   Request function
12       xcb_void_cookie_t xcb_ungrab_pointer(xcb_connection_t *conn,
13              xcb_timestamp_t time);
14

REQUEST ARGUMENTS

16       conn      The XCB connection to X11.
17
18       time      Timestamp to avoid race conditions when running X over the
19                 network.
20
21                 The pointer will not be released if time is earlier than the
22                 last-pointer-grab time or later than the current X server
23                 time.
24

DESCRIPTION

26       Releases the pointer and any queued events if you actively grabbed the
27       pointer before using xcb_grab_pointer, xcb_grab_button or within a nor‐
28       mal button press.
29
30       EnterNotify and LeaveNotify events are generated.
31

RETURN VALUE

33       Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the
34       event loop.
35
36       If you want to handle errors directly with xcb_request_check instead,
37       use xcb_ungrab_pointer_checked. See xcb-requests(3) for details.
38

ERRORS

40       This request does never generate any errors.
41

SEE ALSO

43       xcb-requests(3), xcb_enter_notify_event_t(3), xcb_grab_button(3),
44       xcb_grab_pointer(3), xcb_leave_notify_event_t(3)
45

AUTHOR

47       Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
48       rections and improvements.
49
50
51
52X Version 11                     libxcb 1.13.1           xcb_ungrab_pointer(3)
Impressum