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

NAME

6       xcb_ungrab_key - release a key combination
7

SYNOPSIS

9       #include <xcb/xproto.h>
10
11   Request function
12       xcb_void_cookie_t xcb_ungrab_key(xcb_connection_t *conn,
13              xcb_keycode_t key, xcb_window_t grab_window,
14              uint16_t modifiers);
15

REQUEST ARGUMENTS

17       conn      The XCB connection to X11.
18
19       key       The keycode of the specified key combination.
20
21                 Using the special value XCB_GRAB_ANY means releasing all pos‐
22                 sible key codes.
23
24       grab_window
25                 The window on which the grabbed key combination will be re‐
26                 leased.
27
28       modifiers The modifiers of the specified key combination.
29
30                 Using the special value XCB_MOD_MASK_ANY means releasing the
31                 key combination with every possible modifier combination.
32

DESCRIPTION

34       Releases the key combination on grab_window if you grabbed it using
35       xcb_grab_key before.
36

RETURN VALUE

38       Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the
39       event loop.
40
41       If you want to handle errors directly with xcb_request_check instead,
42       use xcb_ungrab_key_checked. See xcb-requests(3) for details.
43

ERRORS

45       xcb_value_error_t
46                 TODO: reasons?
47
48       xcb_window_error_t
49                 The specified grab_window does not exist.
50

SEE ALSO

52       xcb-requests(3), xcb_grab_key(3), xev(1)
53

AUTHOR

55       Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
56       rections and improvements.
57
58
59
60X Version 11                      libxcb 1.13                xcb_ungrab_key(3)
Impressum