1 | /* Generated by wayland-scanner 1.20.0 */
|
---|
2 |
|
---|
3 | /*
|
---|
4 | * Copyright © 2008-2011 Kristian Høgsberg
|
---|
5 | * Copyright © 2010-2011 Intel Corporation
|
---|
6 | * Copyright © 2012-2013 Collabora, Ltd.
|
---|
7 | *
|
---|
8 | * Permission is hereby granted, free of charge, to any person
|
---|
9 | * obtaining a copy of this software and associated documentation files
|
---|
10 | * (the "Software"), to deal in the Software without restriction,
|
---|
11 | * including without limitation the rights to use, copy, modify, merge,
|
---|
12 | * publish, distribute, sublicense, and/or sell copies of the Software,
|
---|
13 | * and to permit persons to whom the Software is furnished to do so,
|
---|
14 | * subject to the following conditions:
|
---|
15 | *
|
---|
16 | * The above copyright notice and this permission notice (including the
|
---|
17 | * next paragraph) shall be included in all copies or substantial
|
---|
18 | * portions of the Software.
|
---|
19 | *
|
---|
20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
---|
21 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
---|
22 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
---|
23 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
---|
24 | * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
---|
25 | * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
---|
26 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
---|
27 | * SOFTWARE.
|
---|
28 | */
|
---|
29 |
|
---|
30 | /* wayland-scanner --include-core-only --strict public-code ./wayland.xml wayland-protocol.c */
|
---|
31 |
|
---|
32 | #include <stdlib.h>
|
---|
33 | #include <stdint.h>
|
---|
34 | #include "wayland-util.h"
|
---|
35 |
|
---|
36 | extern const struct wl_interface wl_buffer_interface;
|
---|
37 | extern const struct wl_interface wl_callback_interface;
|
---|
38 | extern const struct wl_interface wl_data_device_interface;
|
---|
39 | extern const struct wl_interface wl_data_offer_interface;
|
---|
40 | extern const struct wl_interface wl_data_source_interface;
|
---|
41 | extern const struct wl_interface wl_keyboard_interface;
|
---|
42 | extern const struct wl_interface wl_output_interface;
|
---|
43 | extern const struct wl_interface wl_pointer_interface;
|
---|
44 | extern const struct wl_interface wl_region_interface;
|
---|
45 | extern const struct wl_interface wl_registry_interface;
|
---|
46 | extern const struct wl_interface wl_seat_interface;
|
---|
47 | extern const struct wl_interface wl_shell_surface_interface;
|
---|
48 | extern const struct wl_interface wl_shm_pool_interface;
|
---|
49 | extern const struct wl_interface wl_subsurface_interface;
|
---|
50 | extern const struct wl_interface wl_surface_interface;
|
---|
51 | extern const struct wl_interface wl_touch_interface;
|
---|
52 |
|
---|
53 | static const struct wl_interface *wayland_types[] = {
|
---|
54 | NULL,
|
---|
55 | NULL,
|
---|
56 | NULL,
|
---|
57 | NULL,
|
---|
58 | NULL,
|
---|
59 | NULL,
|
---|
60 | NULL,
|
---|
61 | NULL,
|
---|
62 | &wl_callback_interface,
|
---|
63 | &wl_registry_interface,
|
---|
64 | &wl_surface_interface,
|
---|
65 | &wl_region_interface,
|
---|
66 | &wl_buffer_interface,
|
---|
67 | NULL,
|
---|
68 | NULL,
|
---|
69 | NULL,
|
---|
70 | NULL,
|
---|
71 | NULL,
|
---|
72 | &wl_shm_pool_interface,
|
---|
73 | NULL,
|
---|
74 | NULL,
|
---|
75 | &wl_data_source_interface,
|
---|
76 | &wl_surface_interface,
|
---|
77 | &wl_surface_interface,
|
---|
78 | NULL,
|
---|
79 | &wl_data_source_interface,
|
---|
80 | NULL,
|
---|
81 | &wl_data_offer_interface,
|
---|
82 | NULL,
|
---|
83 | &wl_surface_interface,
|
---|
84 | NULL,
|
---|
85 | NULL,
|
---|
86 | &wl_data_offer_interface,
|
---|
87 | &wl_data_offer_interface,
|
---|
88 | &wl_data_source_interface,
|
---|
89 | &wl_data_device_interface,
|
---|
90 | &wl_seat_interface,
|
---|
91 | &wl_shell_surface_interface,
|
---|
92 | &wl_surface_interface,
|
---|
93 | &wl_seat_interface,
|
---|
94 | NULL,
|
---|
95 | &wl_seat_interface,
|
---|
96 | NULL,
|
---|
97 | NULL,
|
---|
98 | &wl_surface_interface,
|
---|
99 | NULL,
|
---|
100 | NULL,
|
---|
101 | NULL,
|
---|
102 | NULL,
|
---|
103 | NULL,
|
---|
104 | &wl_output_interface,
|
---|
105 | &wl_seat_interface,
|
---|
106 | NULL,
|
---|
107 | &wl_surface_interface,
|
---|
108 | NULL,
|
---|
109 | NULL,
|
---|
110 | NULL,
|
---|
111 | &wl_output_interface,
|
---|
112 | &wl_buffer_interface,
|
---|
113 | NULL,
|
---|
114 | NULL,
|
---|
115 | &wl_callback_interface,
|
---|
116 | &wl_region_interface,
|
---|
117 | &wl_region_interface,
|
---|
118 | &wl_output_interface,
|
---|
119 | &wl_output_interface,
|
---|
120 | &wl_pointer_interface,
|
---|
121 | &wl_keyboard_interface,
|
---|
122 | &wl_touch_interface,
|
---|
123 | NULL,
|
---|
124 | &wl_surface_interface,
|
---|
125 | NULL,
|
---|
126 | NULL,
|
---|
127 | NULL,
|
---|
128 | &wl_surface_interface,
|
---|
129 | NULL,
|
---|
130 | NULL,
|
---|
131 | NULL,
|
---|
132 | &wl_surface_interface,
|
---|
133 | NULL,
|
---|
134 | &wl_surface_interface,
|
---|
135 | NULL,
|
---|
136 | NULL,
|
---|
137 | &wl_surface_interface,
|
---|
138 | NULL,
|
---|
139 | NULL,
|
---|
140 | &wl_surface_interface,
|
---|
141 | NULL,
|
---|
142 | NULL,
|
---|
143 | NULL,
|
---|
144 | &wl_subsurface_interface,
|
---|
145 | &wl_surface_interface,
|
---|
146 | &wl_surface_interface,
|
---|
147 | &wl_surface_interface,
|
---|
148 | &wl_surface_interface,
|
---|
149 | };
|
---|
150 |
|
---|
151 | static const struct wl_message wl_display_requests[] = {
|
---|
152 | { "sync", "n", wayland_types + 8 },
|
---|
153 | { "get_registry", "n", wayland_types + 9 },
|
---|
154 | };
|
---|
155 |
|
---|
156 | static const struct wl_message wl_display_events[] = {
|
---|
157 | { "error", "ous", wayland_types + 0 },
|
---|
158 | { "delete_id", "u", wayland_types + 0 },
|
---|
159 | };
|
---|
160 |
|
---|
161 | WL_EXPORT const struct wl_interface wl_display_interface = {
|
---|
162 | "wl_display", 1,
|
---|
163 | 2, wl_display_requests,
|
---|
164 | 2, wl_display_events,
|
---|
165 | };
|
---|
166 |
|
---|
167 | static const struct wl_message wl_registry_requests[] = {
|
---|
168 | { "bind", "usun", wayland_types + 0 },
|
---|
169 | };
|
---|
170 |
|
---|
171 | static const struct wl_message wl_registry_events[] = {
|
---|
172 | { "global", "usu", wayland_types + 0 },
|
---|
173 | { "global_remove", "u", wayland_types + 0 },
|
---|
174 | };
|
---|
175 |
|
---|
176 | WL_EXPORT const struct wl_interface wl_registry_interface = {
|
---|
177 | "wl_registry", 1,
|
---|
178 | 1, wl_registry_requests,
|
---|
179 | 2, wl_registry_events,
|
---|
180 | };
|
---|
181 |
|
---|
182 | static const struct wl_message wl_callback_events[] = {
|
---|
183 | { "done", "u", wayland_types + 0 },
|
---|
184 | };
|
---|
185 |
|
---|
186 | WL_EXPORT const struct wl_interface wl_callback_interface = {
|
---|
187 | "wl_callback", 1,
|
---|
188 | 0, NULL,
|
---|
189 | 1, wl_callback_events,
|
---|
190 | };
|
---|
191 |
|
---|
192 | static const struct wl_message wl_compositor_requests[] = {
|
---|
193 | { "create_surface", "n", wayland_types + 10 },
|
---|
194 | { "create_region", "n", wayland_types + 11 },
|
---|
195 | };
|
---|
196 |
|
---|
197 | WL_EXPORT const struct wl_interface wl_compositor_interface = {
|
---|
198 | "wl_compositor", 5,
|
---|
199 | 2, wl_compositor_requests,
|
---|
200 | 0, NULL,
|
---|
201 | };
|
---|
202 |
|
---|
203 | static const struct wl_message wl_shm_pool_requests[] = {
|
---|
204 | { "create_buffer", "niiiiu", wayland_types + 12 },
|
---|
205 | { "destroy", "", wayland_types + 0 },
|
---|
206 | { "resize", "i", wayland_types + 0 },
|
---|
207 | };
|
---|
208 |
|
---|
209 | WL_EXPORT const struct wl_interface wl_shm_pool_interface = {
|
---|
210 | "wl_shm_pool", 1,
|
---|
211 | 3, wl_shm_pool_requests,
|
---|
212 | 0, NULL,
|
---|
213 | };
|
---|
214 |
|
---|
215 | static const struct wl_message wl_shm_requests[] = {
|
---|
216 | { "create_pool", "nhi", wayland_types + 18 },
|
---|
217 | };
|
---|
218 |
|
---|
219 | static const struct wl_message wl_shm_events[] = {
|
---|
220 | { "format", "u", wayland_types + 0 },
|
---|
221 | };
|
---|
222 |
|
---|
223 | WL_EXPORT const struct wl_interface wl_shm_interface = {
|
---|
224 | "wl_shm", 1,
|
---|
225 | 1, wl_shm_requests,
|
---|
226 | 1, wl_shm_events,
|
---|
227 | };
|
---|
228 |
|
---|
229 | static const struct wl_message wl_buffer_requests[] = {
|
---|
230 | { "destroy", "", wayland_types + 0 },
|
---|
231 | };
|
---|
232 |
|
---|
233 | static const struct wl_message wl_buffer_events[] = {
|
---|
234 | { "release", "", wayland_types + 0 },
|
---|
235 | };
|
---|
236 |
|
---|
237 | WL_EXPORT const struct wl_interface wl_buffer_interface = {
|
---|
238 | "wl_buffer", 1,
|
---|
239 | 1, wl_buffer_requests,
|
---|
240 | 1, wl_buffer_events,
|
---|
241 | };
|
---|
242 |
|
---|
243 | static const struct wl_message wl_data_offer_requests[] = {
|
---|
244 | { "accept", "u?s", wayland_types + 0 },
|
---|
245 | { "receive", "sh", wayland_types + 0 },
|
---|
246 | { "destroy", "", wayland_types + 0 },
|
---|
247 | { "finish", "3", wayland_types + 0 },
|
---|
248 | { "set_actions", "3uu", wayland_types + 0 },
|
---|
249 | };
|
---|
250 |
|
---|
251 | static const struct wl_message wl_data_offer_events[] = {
|
---|
252 | { "offer", "s", wayland_types + 0 },
|
---|
253 | { "source_actions", "3u", wayland_types + 0 },
|
---|
254 | { "action", "3u", wayland_types + 0 },
|
---|
255 | };
|
---|
256 |
|
---|
257 | WL_EXPORT const struct wl_interface wl_data_offer_interface = {
|
---|
258 | "wl_data_offer", 3,
|
---|
259 | 5, wl_data_offer_requests,
|
---|
260 | 3, wl_data_offer_events,
|
---|
261 | };
|
---|
262 |
|
---|
263 | static const struct wl_message wl_data_source_requests[] = {
|
---|
264 | { "offer", "s", wayland_types + 0 },
|
---|
265 | { "destroy", "", wayland_types + 0 },
|
---|
266 | { "set_actions", "3u", wayland_types + 0 },
|
---|
267 | };
|
---|
268 |
|
---|
269 | static const struct wl_message wl_data_source_events[] = {
|
---|
270 | { "target", "?s", wayland_types + 0 },
|
---|
271 | { "send", "sh", wayland_types + 0 },
|
---|
272 | { "cancelled", "", wayland_types + 0 },
|
---|
273 | { "dnd_drop_performed", "3", wayland_types + 0 },
|
---|
274 | { "dnd_finished", "3", wayland_types + 0 },
|
---|
275 | { "action", "3u", wayland_types + 0 },
|
---|
276 | };
|
---|
277 |
|
---|
278 | WL_EXPORT const struct wl_interface wl_data_source_interface = {
|
---|
279 | "wl_data_source", 3,
|
---|
280 | 3, wl_data_source_requests,
|
---|
281 | 6, wl_data_source_events,
|
---|
282 | };
|
---|
283 |
|
---|
284 | static const struct wl_message wl_data_device_requests[] = {
|
---|
285 | { "start_drag", "?oo?ou", wayland_types + 21 },
|
---|
286 | { "set_selection", "?ou", wayland_types + 25 },
|
---|
287 | { "release", "2", wayland_types + 0 },
|
---|
288 | };
|
---|
289 |
|
---|
290 | static const struct wl_message wl_data_device_events[] = {
|
---|
291 | { "data_offer", "n", wayland_types + 27 },
|
---|
292 | { "enter", "uoff?o", wayland_types + 28 },
|
---|
293 | { "leave", "", wayland_types + 0 },
|
---|
294 | { "motion", "uff", wayland_types + 0 },
|
---|
295 | { "drop", "", wayland_types + 0 },
|
---|
296 | { "selection", "?o", wayland_types + 33 },
|
---|
297 | };
|
---|
298 |
|
---|
299 | WL_EXPORT const struct wl_interface wl_data_device_interface = {
|
---|
300 | "wl_data_device", 3,
|
---|
301 | 3, wl_data_device_requests,
|
---|
302 | 6, wl_data_device_events,
|
---|
303 | };
|
---|
304 |
|
---|
305 | static const struct wl_message wl_data_device_manager_requests[] = {
|
---|
306 | { "create_data_source", "n", wayland_types + 34 },
|
---|
307 | { "get_data_device", "no", wayland_types + 35 },
|
---|
308 | };
|
---|
309 |
|
---|
310 | WL_EXPORT const struct wl_interface wl_data_device_manager_interface = {
|
---|
311 | "wl_data_device_manager", 3,
|
---|
312 | 2, wl_data_device_manager_requests,
|
---|
313 | 0, NULL,
|
---|
314 | };
|
---|
315 |
|
---|
316 | static const struct wl_message wl_shell_requests[] = {
|
---|
317 | { "get_shell_surface", "no", wayland_types + 37 },
|
---|
318 | };
|
---|
319 |
|
---|
320 | WL_EXPORT const struct wl_interface wl_shell_interface = {
|
---|
321 | "wl_shell", 1,
|
---|
322 | 1, wl_shell_requests,
|
---|
323 | 0, NULL,
|
---|
324 | };
|
---|
325 |
|
---|
326 | static const struct wl_message wl_shell_surface_requests[] = {
|
---|
327 | { "pong", "u", wayland_types + 0 },
|
---|
328 | { "move", "ou", wayland_types + 39 },
|
---|
329 | { "resize", "ouu", wayland_types + 41 },
|
---|
330 | { "set_toplevel", "", wayland_types + 0 },
|
---|
331 | { "set_transient", "oiiu", wayland_types + 44 },
|
---|
332 | { "set_fullscreen", "uu?o", wayland_types + 48 },
|
---|
333 | { "set_popup", "ouoiiu", wayland_types + 51 },
|
---|
334 | { "set_maximized", "?o", wayland_types + 57 },
|
---|
335 | { "set_title", "s", wayland_types + 0 },
|
---|
336 | { "set_class", "s", wayland_types + 0 },
|
---|
337 | };
|
---|
338 |
|
---|
339 | static const struct wl_message wl_shell_surface_events[] = {
|
---|
340 | { "ping", "u", wayland_types + 0 },
|
---|
341 | { "configure", "uii", wayland_types + 0 },
|
---|
342 | { "popup_done", "", wayland_types + 0 },
|
---|
343 | };
|
---|
344 |
|
---|
345 | WL_EXPORT const struct wl_interface wl_shell_surface_interface = {
|
---|
346 | "wl_shell_surface", 1,
|
---|
347 | 10, wl_shell_surface_requests,
|
---|
348 | 3, wl_shell_surface_events,
|
---|
349 | };
|
---|
350 |
|
---|
351 | static const struct wl_message wl_surface_requests[] = {
|
---|
352 | { "destroy", "", wayland_types + 0 },
|
---|
353 | { "attach", "?oii", wayland_types + 58 },
|
---|
354 | { "damage", "iiii", wayland_types + 0 },
|
---|
355 | { "frame", "n", wayland_types + 61 },
|
---|
356 | { "set_opaque_region", "?o", wayland_types + 62 },
|
---|
357 | { "set_input_region", "?o", wayland_types + 63 },
|
---|
358 | { "commit", "", wayland_types + 0 },
|
---|
359 | { "set_buffer_transform", "2i", wayland_types + 0 },
|
---|
360 | { "set_buffer_scale", "3i", wayland_types + 0 },
|
---|
361 | { "damage_buffer", "4iiii", wayland_types + 0 },
|
---|
362 | { "offset", "5ii", wayland_types + 0 },
|
---|
363 | };
|
---|
364 |
|
---|
365 | static const struct wl_message wl_surface_events[] = {
|
---|
366 | { "enter", "o", wayland_types + 64 },
|
---|
367 | { "leave", "o", wayland_types + 65 },
|
---|
368 | };
|
---|
369 |
|
---|
370 | WL_EXPORT const struct wl_interface wl_surface_interface = {
|
---|
371 | "wl_surface", 5,
|
---|
372 | 11, wl_surface_requests,
|
---|
373 | 2, wl_surface_events,
|
---|
374 | };
|
---|
375 |
|
---|
376 | static const struct wl_message wl_seat_requests[] = {
|
---|
377 | { "get_pointer", "n", wayland_types + 66 },
|
---|
378 | { "get_keyboard", "n", wayland_types + 67 },
|
---|
379 | { "get_touch", "n", wayland_types + 68 },
|
---|
380 | { "release", "5", wayland_types + 0 },
|
---|
381 | };
|
---|
382 |
|
---|
383 | static const struct wl_message wl_seat_events[] = {
|
---|
384 | { "capabilities", "u", wayland_types + 0 },
|
---|
385 | { "name", "2s", wayland_types + 0 },
|
---|
386 | };
|
---|
387 |
|
---|
388 | WL_EXPORT const struct wl_interface wl_seat_interface = {
|
---|
389 | "wl_seat", 7,
|
---|
390 | 4, wl_seat_requests,
|
---|
391 | 2, wl_seat_events,
|
---|
392 | };
|
---|
393 |
|
---|
394 | static const struct wl_message wl_pointer_requests[] = {
|
---|
395 | { "set_cursor", "u?oii", wayland_types + 69 },
|
---|
396 | { "release", "3", wayland_types + 0 },
|
---|
397 | };
|
---|
398 |
|
---|
399 | static const struct wl_message wl_pointer_events[] = {
|
---|
400 | { "enter", "uoff", wayland_types + 73 },
|
---|
401 | { "leave", "uo", wayland_types + 77 },
|
---|
402 | { "motion", "uff", wayland_types + 0 },
|
---|
403 | { "button", "uuuu", wayland_types + 0 },
|
---|
404 | { "axis", "uuf", wayland_types + 0 },
|
---|
405 | { "frame", "5", wayland_types + 0 },
|
---|
406 | { "axis_source", "5u", wayland_types + 0 },
|
---|
407 | { "axis_stop", "5uu", wayland_types + 0 },
|
---|
408 | { "axis_discrete", "5ui", wayland_types + 0 },
|
---|
409 | };
|
---|
410 |
|
---|
411 | WL_EXPORT const struct wl_interface wl_pointer_interface = {
|
---|
412 | "wl_pointer", 7,
|
---|
413 | 2, wl_pointer_requests,
|
---|
414 | 9, wl_pointer_events,
|
---|
415 | };
|
---|
416 |
|
---|
417 | static const struct wl_message wl_keyboard_requests[] = {
|
---|
418 | { "release", "3", wayland_types + 0 },
|
---|
419 | };
|
---|
420 |
|
---|
421 | static const struct wl_message wl_keyboard_events[] = {
|
---|
422 | { "keymap", "uhu", wayland_types + 0 },
|
---|
423 | { "enter", "uoa", wayland_types + 79 },
|
---|
424 | { "leave", "uo", wayland_types + 82 },
|
---|
425 | { "key", "uuuu", wayland_types + 0 },
|
---|
426 | { "modifiers", "uuuuu", wayland_types + 0 },
|
---|
427 | { "repeat_info", "4ii", wayland_types + 0 },
|
---|
428 | };
|
---|
429 |
|
---|
430 | WL_EXPORT const struct wl_interface wl_keyboard_interface = {
|
---|
431 | "wl_keyboard", 7,
|
---|
432 | 1, wl_keyboard_requests,
|
---|
433 | 6, wl_keyboard_events,
|
---|
434 | };
|
---|
435 |
|
---|
436 | static const struct wl_message wl_touch_requests[] = {
|
---|
437 | { "release", "3", wayland_types + 0 },
|
---|
438 | };
|
---|
439 |
|
---|
440 | static const struct wl_message wl_touch_events[] = {
|
---|
441 | { "down", "uuoiff", wayland_types + 84 },
|
---|
442 | { "up", "uui", wayland_types + 0 },
|
---|
443 | { "motion", "uiff", wayland_types + 0 },
|
---|
444 | { "frame", "", wayland_types + 0 },
|
---|
445 | { "cancel", "", wayland_types + 0 },
|
---|
446 | { "shape", "6iff", wayland_types + 0 },
|
---|
447 | { "orientation", "6if", wayland_types + 0 },
|
---|
448 | };
|
---|
449 |
|
---|
450 | WL_EXPORT const struct wl_interface wl_touch_interface = {
|
---|
451 | "wl_touch", 7,
|
---|
452 | 1, wl_touch_requests,
|
---|
453 | 7, wl_touch_events,
|
---|
454 | };
|
---|
455 |
|
---|
456 | static const struct wl_message wl_output_requests[] = {
|
---|
457 | { "release", "3", wayland_types + 0 },
|
---|
458 | };
|
---|
459 |
|
---|
460 | static const struct wl_message wl_output_events[] = {
|
---|
461 | { "geometry", "iiiiissi", wayland_types + 0 },
|
---|
462 | { "mode", "uiii", wayland_types + 0 },
|
---|
463 | { "done", "2", wayland_types + 0 },
|
---|
464 | { "scale", "2i", wayland_types + 0 },
|
---|
465 | { "name", "4s", wayland_types + 0 },
|
---|
466 | { "description", "4s", wayland_types + 0 },
|
---|
467 | };
|
---|
468 |
|
---|
469 | WL_EXPORT const struct wl_interface wl_output_interface = {
|
---|
470 | "wl_output", 4,
|
---|
471 | 1, wl_output_requests,
|
---|
472 | 6, wl_output_events,
|
---|
473 | };
|
---|
474 |
|
---|
475 | static const struct wl_message wl_region_requests[] = {
|
---|
476 | { "destroy", "", wayland_types + 0 },
|
---|
477 | { "add", "iiii", wayland_types + 0 },
|
---|
478 | { "subtract", "iiii", wayland_types + 0 },
|
---|
479 | };
|
---|
480 |
|
---|
481 | WL_EXPORT const struct wl_interface wl_region_interface = {
|
---|
482 | "wl_region", 1,
|
---|
483 | 3, wl_region_requests,
|
---|
484 | 0, NULL,
|
---|
485 | };
|
---|
486 |
|
---|
487 | static const struct wl_message wl_subcompositor_requests[] = {
|
---|
488 | { "destroy", "", wayland_types + 0 },
|
---|
489 | { "get_subsurface", "noo", wayland_types + 90 },
|
---|
490 | };
|
---|
491 |
|
---|
492 | WL_EXPORT const struct wl_interface wl_subcompositor_interface = {
|
---|
493 | "wl_subcompositor", 1,
|
---|
494 | 2, wl_subcompositor_requests,
|
---|
495 | 0, NULL,
|
---|
496 | };
|
---|
497 |
|
---|
498 | static const struct wl_message wl_subsurface_requests[] = {
|
---|
499 | { "destroy", "", wayland_types + 0 },
|
---|
500 | { "set_position", "ii", wayland_types + 0 },
|
---|
501 | { "place_above", "o", wayland_types + 93 },
|
---|
502 | { "place_below", "o", wayland_types + 94 },
|
---|
503 | { "set_sync", "", wayland_types + 0 },
|
---|
504 | { "set_desync", "", wayland_types + 0 },
|
---|
505 | };
|
---|
506 |
|
---|
507 | WL_EXPORT const struct wl_interface wl_subsurface_interface = {
|
---|
508 | "wl_subsurface", 1,
|
---|
509 | 6, wl_subsurface_requests,
|
---|
510 | 0, NULL,
|
---|
511 | };
|
---|
512 |
|
---|