1xcb_query_best_size(3) XCB Requests xcb_query_best_size(3)
2
3
4
6 xcb_query_best_size -
7
9 #include <xcb/xproto.h>
10
11 Request function
12 xcb_query_best_size_cookie_t
13 xcb_query_best_size(xcb_connection_t *conn, uint8_t _class,
14 xcb_drawable_t drawable, uint16_t width, uint16_t height);
15
16 Reply datastructure
17 typedef struct xcb_query_best_size_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 uint16_t width;
23 uint16_t height;
24 } xcb_query_best_size_reply_t;
25
26 Reply function
27 xcb_query_best_size_reply_t
28 *xcb_query_best_size_reply(xcb_connection_t *conn,
29 xcb_query_best_size_cookie_t cookie, xcb_generic_error_t **e);
30
32 conn The XCB connection to X11.
33
34 _class One of the following values:
35
36 XCB_QUERY_SHAPE_OF_LARGEST_CURSOR
37 TODO: NOT YET DOCUMENTED.
38
39 XCB_QUERY_SHAPE_OF_FASTEST_TILE
40 TODO: NOT YET DOCUMENTED.
41
42 XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE
43 TODO: NOT YET DOCUMENTED.
44 TODO: NOT YET DOCUMENTED.
45
46 drawable TODO: NOT YET DOCUMENTED.
47
48 width TODO: NOT YET DOCUMENTED.
49
50 height TODO: NOT YET DOCUMENTED.
51
53 response_type
54 The type of this reply, in this case XCB_QUERY_BEST_SIZE.
55 This field is also present in the xcb_generic_reply_t and can
56 be used to tell replies apart from each other.
57
58 sequence The sequence number of the last request processed by the X11
59 server.
60
61 length The length of the reply, in words (a word is 4 bytes).
62
63 width TODO: NOT YET DOCUMENTED.
64
65 height TODO: NOT YET DOCUMENTED.
66
69 Returns an xcb_query_best_size_cookie_t. Errors have to be handled when
70 calling the reply function xcb_query_best_size_reply.
71
72 If you want to handle errors in the event loop instead, use
73 xcb_query_best_size_unchecked. See xcb-requests(3) for details.
74
76 This request does never generate any errors.
77
80 Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
81 rections and improvements.
82
83
84
85X Version 11 libxcb 1.13 xcb_query_best_size(3)