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

NAME

6       xcb_input_xi_get_focus -
7

SYNOPSIS

9       #include <xcb/xinput.h>
10
11   Request function
12       xcb_input_xi_get_focus_cookie_t
13              xcb_input_xi_get_focus(xcb_connection_t *conn,
14              xcb_input_device_id_t deviceid);
15
16   Reply datastructure
17       typedef struct xcb_input_xi_get_focus_reply_t {
18           uint8_t      response_type;
19           uint8_t      pad0;
20           uint16_t     sequence;
21           uint32_t     length;
22           xcb_window_t focus;
23           uint8_t      pad1[20];
24       } xcb_input_xi_get_focus_reply_t;
25
26   Reply function
27       xcb_input_xi_get_focus_reply_t
28              *xcb_input_xi_get_focus_reply(xcb_connection_t *conn,
29              xcb_input_xi_get_focus_cookie_t cookie,
30              xcb_generic_error_t **e);
31

REQUEST ARGUMENTS

33       conn      The XCB connection to X11.
34
35       deviceid  TODO: NOT YET DOCUMENTED.
36

REPLY FIELDS

38       response_type
39                 The type of this reply, in this case XCB_INPUT_XI_GET_FOCUS.
40                 This field is also present in the xcb_generic_reply_t and can
41                 be used to tell replies apart from each other.
42
43       sequence  The sequence number of the last request processed by the X11
44                 server.
45
46       length    The length of the reply, in words (a word is 4 bytes).
47
48       focus     TODO: NOT YET DOCUMENTED.
49

DESCRIPTION

RETURN VALUE

52       Returns an xcb_input_xi_get_focus_cookie_t. Errors have to be handled
53       when calling the reply function xcb_input_xi_get_focus_reply.
54
55       If you want to handle errors in the event loop instead, use xcb_in‐
56       put_xi_get_focus_unchecked. See xcb-requests(3) for details.
57

ERRORS

59       This request does never generate any errors.
60

SEE ALSO

AUTHOR

63       Generated from xinput.xml. Contact xcb@lists.freedesktop.org for cor‐
64       rections and improvements.
65
66
67
68X Version 11                      libxcb 1.12        xcb_input_xi_get_focus(3)
Impressum