1xcb_present_query_capabilities(3)XCB Requestsxcb_present_query_capabilities(3)
2
3
4
6 xcb_present_query_capabilities -
7
9 #include <xcb/present.h>
10
11 Request function
12 xcb_present_query_capabilities_cookie_t
13 xcb_present_query_capabilities(xcb_connection_t *conn,
14 uint32_t target);
15
16 Reply datastructure
17 typedef struct xcb_present_query_capabilities_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 uint32_t capabilities;
23 } xcb_present_query_capabilities_reply_t;
24
25 Reply function
26 xcb_present_query_capabilities_reply_t
27 *xcb_present_query_capabilities_reply(xcb_connection_t *conn,
28 xcb_present_query_capabilities_cookie_t cookie,
29 xcb_generic_error_t **e);
30
32 conn The XCB connection to X11.
33
34 target TODO: NOT YET DOCUMENTED.
35
37 response_type
38 The type of this reply, in this case XCB_PRESENT_QUERY_CAPA‐
39 BILITIES. This field is also present in the xcb_generic_re‐
40 ply_t and can be used to tell replies apart from each other.
41
42 sequence The sequence number of the last request processed by the X11
43 server.
44
45 length The length of the reply, in words (a word is 4 bytes).
46
47 capabilities
48 TODO: NOT YET DOCUMENTED.
49
52 Returns an xcb_present_query_capabilities_cookie_t. Errors have to be
53 handled when calling the reply function xcb_present_query_capabili‐
54 ties_reply.
55
56 If you want to handle errors in the event loop instead, use
57 xcb_present_query_capabilities_unchecked. See xcb-requests(3) for de‐
58 tails.
59
61 This request does never generate any errors.
62
65 Generated from present.xml. Contact xcb@lists.freedesktop.org for cor‐
66 rections and improvements.
67
68
69
70X Version 11 libxcb 1.13xcb_present_query_capabilities(3)