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

NAME

6       xcb_input_xi_query_pointer -
7

SYNOPSIS

9       #include <xcb/xinput.h>
10
11   Request function
12       xcb_input_xi_query_pointer_cookie_t
13              xcb_input_xi_query_pointer(xcb_connection_t *conn,
14              xcb_window_t window, xcb_input_device_id_t deviceid);
15
16   Reply datastructure
17       typedef struct xcb_input_xi_query_pointer_reply_t {
18           uint8_t                   response_type;
19           uint8_t                   pad0;
20           uint16_t                  sequence;
21           uint32_t                  length;
22           xcb_window_t              root;
23           xcb_window_t              child;
24           xcb_input_fp1616_t        root_x;
25           xcb_input_fp1616_t        root_y;
26           xcb_input_fp1616_t        win_x;
27           xcb_input_fp1616_t        win_y;
28           uint8_t                   same_screen;
29           uint8_t                   pad1;
30           uint16_t                  buttons_len;
31           xcb_input_modifier_info_t mods;
32           xcb_input_group_info_t    group;
33       } xcb_input_xi_query_pointer_reply_t;
34
35   Reply function
36       xcb_input_xi_query_pointer_reply_t
37              *xcb_input_xi_query_pointer_reply(xcb_connection_t *conn,
38              xcb_input_xi_query_pointer_cookie_t cookie,
39              xcb_generic_error_t **e);
40
41   Reply accessors
42       uint32_t *xcb_input_xi_query_pointer_buttons(const
43              xcb_input_xi_query_pointer_request_t *reply);
44
45       int xcb_input_xi_query_pointer_buttons_length(const
46              xcb_input_xi_query_pointer_reply_t *reply);
47
48       xcb_generic_iterator_t xcb_input_xi_query_pointer_buttons_end(const
49              xcb_input_xi_query_pointer_reply_t *reply);
50

REQUEST ARGUMENTS

52       conn      The XCB connection to X11.
53
54       window    TODO: NOT YET DOCUMENTED.
55
56       deviceid  TODO: NOT YET DOCUMENTED.
57

REPLY FIELDS

59       response_type
60                 The type of this reply, in this case XCB_IN‐
61                 PUT_XI_QUERY_POINTER. This field is also present in the
62                 xcb_generic_reply_t and can be used to tell replies apart
63                 from each other.
64
65       sequence  The sequence number of the last request processed by the X11
66                 server.
67
68       length    The length of the reply, in words (a word is 4 bytes).
69
70       root      TODO: NOT YET DOCUMENTED.
71
72       child     TODO: NOT YET DOCUMENTED.
73
74       root_x    TODO: NOT YET DOCUMENTED.
75
76       root_y    TODO: NOT YET DOCUMENTED.
77
78       win_x     TODO: NOT YET DOCUMENTED.
79
80       win_y     TODO: NOT YET DOCUMENTED.
81
82       same_screen
83                 TODO: NOT YET DOCUMENTED.
84
85       buttons_len
86                 TODO: NOT YET DOCUMENTED.
87
88       mods      TODO: NOT YET DOCUMENTED.
89
90       group     TODO: NOT YET DOCUMENTED.
91

DESCRIPTION

RETURN VALUE

94       Returns an xcb_input_xi_query_pointer_cookie_t. Errors have to be han‐
95       dled when calling the reply function xcb_input_xi_query_pointer_reply.
96
97       If you want to handle errors in the event loop instead, use xcb_in‐
98       put_xi_query_pointer_unchecked. See xcb-requests(3) for details.
99

ERRORS

101       This request does never generate any errors.
102

SEE ALSO

AUTHOR

105       Generated from xinput.xml. Contact xcb@lists.freedesktop.org for cor‐
106       rections and improvements.
107
108
109
110X Version 11                     libxcb 1.13.1   xcb_input_xi_query_pointer(3)
Impressum