1xcb_translate_coordinates(3) XCB Requests xcb_translate_coordinates(3)
2
3
4
6 xcb_translate_coordinates -
7
9 #include <xcb/xproto.h>
10
11 Request function
12 xcb_translate_coordinates_cookie_t
13 xcb_translate_coordinates(xcb_connection_t *conn,
14 xcb_window_t src_window, xcb_window_t dst_window, int16_t src_x,
15 int16_t src_y);
16
17 Reply datastructure
18 typedef struct xcb_translate_coordinates_reply_t {
19 uint8_t response_type;
20 uint8_t same_screen;
21 uint16_t sequence;
22 uint32_t length;
23 xcb_window_t child;
24 int16_t dst_x;
25 int16_t dst_y;
26 } xcb_translate_coordinates_reply_t;
27
28 Reply function
29 xcb_translate_coordinates_reply_t
30 *xcb_translate_coordinates_reply(xcb_connection_t *conn,
31 xcb_translate_coordinates_cookie_t cookie,
32 xcb_generic_error_t **e);
33
35 conn The XCB connection to X11.
36
37 src_window
38 TODO: NOT YET DOCUMENTED.
39
40 dst_window
41 TODO: NOT YET DOCUMENTED.
42
43 src_x TODO: NOT YET DOCUMENTED.
44
45 src_y TODO: NOT YET DOCUMENTED.
46
48 response_type
49 The type of this reply, in this case XCB_TRANSLATE_COORDI‐
50 NATES. This field is also present in the xcb_generic_reply_t
51 and can be used to tell replies apart from each other.
52
53 sequence The sequence number of the last request processed by the X11
54 server.
55
56 length The length of the reply, in words (a word is 4 bytes).
57
58 same_screen
59 TODO: NOT YET DOCUMENTED.
60
61 child TODO: NOT YET DOCUMENTED.
62
63 dst_x TODO: NOT YET DOCUMENTED.
64
65 dst_y TODO: NOT YET DOCUMENTED.
66
69 Returns an xcb_translate_coordinates_cookie_t. Errors have to be han‐
70 dled when calling the reply function xcb_translate_coordinates_reply.
71
72 If you want to handle errors in the event loop instead, use xcb_trans‐
73 late_coordinates_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.1 xcb_translate_coordinates(3)