1xcb_randr_create_lease(3) XCB Requests xcb_randr_create_lease(3)
2
3
4
6 xcb_randr_create_lease -
7
9 #include <xcb/randr.h>
10
11 Request function
12 xcb_randr_create_lease_cookie_t
13 xcb_randr_create_lease(xcb_connection_t *conn,
14 xcb_window_t window, xcb_randr_lease_t lid, uint16_t num_crtcs,
15 uint16_t num_outputs, const xcb_randr_crtc_t *crtcs, const
16 xcb_randr_output_t *outputs);
17
18 Reply datastructure
19 typedef struct xcb_randr_create_lease_reply_t {
20 uint8_t response_type;
21 uint8_t nfd;
22 uint16_t sequence;
23 uint32_t length;
24 uint8_t pad0[24];
25 } xcb_randr_create_lease_reply_t;
26
27 Reply function
28 xcb_randr_create_lease_reply_t
29 *xcb_randr_create_lease_reply(xcb_connection_t *conn,
30 xcb_randr_create_lease_cookie_t cookie,
31 xcb_generic_error_t **e);
32
34 conn The XCB connection to X11.
35
36 window TODO: NOT YET DOCUMENTED.
37
38 lid TODO: NOT YET DOCUMENTED.
39
40 num_crtcs TODO: NOT YET DOCUMENTED.
41
42 num_outputs
43 TODO: NOT YET DOCUMENTED.
44
45 crtcs TODO: NOT YET DOCUMENTED.
46
47 outputs TODO: NOT YET DOCUMENTED.
48
50 response_type
51 The type of this reply, in this case XCB_RANDR_CREATE_LEASE.
52 This field is also present in the xcb_generic_reply_t and can
53 be used to tell replies apart from each other.
54
55 sequence The sequence number of the last request processed by the X11
56 server.
57
58 length The length of the reply, in words (a word is 4 bytes).
59
60 nfd TODO: NOT YET DOCUMENTED.
61
62 master_fd TODO: NOT YET DOCUMENTED.
63
66 Returns an xcb_randr_create_lease_cookie_t. Errors have to be handled
67 when calling the reply function xcb_randr_create_lease_reply.
68
69 If you want to handle errors in the event loop instead, use xcb_ran‐
70 dr_create_lease_unchecked. See xcb-requests(3) for details.
71
73 This request does never generate any errors.
74
77 Generated from randr.xml. Contact xcb@lists.freedesktop.org for correc‐
78 tions and improvements.
79
80
81
82X Version 11 libxcb 1.13.1 xcb_randr_create_lease(3)