Mercurial > minori
comparison dep/animia/src/win/wayland/ext-foreign-toplevel-list-v1.c @ 199:9f3534f6b8c4
dep/animia: initial Wayland support, drop non-working kvm fd plugin
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 02 Jan 2024 02:34:27 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
198:bc1ae1810855 | 199:9f3534f6b8c4 |
---|---|
1 /* Generated by wayland-scanner 1.21.0 */ | |
2 | |
3 /* | |
4 * Copyright © 2018 Ilia Bozhinov | |
5 * Copyright © 2020 Isaac Freund | |
6 * Copyright © 2022 wb9688 | |
7 * Copyright © 2023 i509VCB | |
8 * | |
9 * Permission to use, copy, modify, distribute, and sell this | |
10 * software and its documentation for any purpose is hereby granted | |
11 * without fee, provided that the above copyright notice appear in | |
12 * all copies and that both that copyright notice and this permission | |
13 * notice appear in supporting documentation, and that the name of | |
14 * the copyright holders not be used in advertising or publicity | |
15 * pertaining to distribution of the software without specific, | |
16 * written prior permission. The copyright holders make no | |
17 * representations about the suitability of this software for any | |
18 * purpose. It is provided "as is" without express or implied | |
19 * warranty. | |
20 * | |
21 * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS | |
22 * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND | |
23 * FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY | |
24 * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | |
25 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN | |
26 * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, | |
27 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF | |
28 * THIS SOFTWARE. | |
29 */ | |
30 | |
31 #include <stdlib.h> | |
32 #include <stdint.h> | |
33 #include "wayland-util.h" | |
34 | |
35 #ifndef __has_attribute | |
36 # define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */ | |
37 #endif | |
38 | |
39 #if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4) | |
40 #define WL_PRIVATE __attribute__ ((visibility("hidden"))) | |
41 #else | |
42 #define WL_PRIVATE | |
43 #endif | |
44 | |
45 extern const struct wl_interface ext_foreign_toplevel_handle_v1_interface; | |
46 | |
47 static const struct wl_interface *ext_foreign_toplevel_list_v1_types[] = { | |
48 NULL, | |
49 &ext_foreign_toplevel_handle_v1_interface, | |
50 }; | |
51 | |
52 static const struct wl_message ext_foreign_toplevel_list_v1_requests[] = { | |
53 { "stop", "", ext_foreign_toplevel_list_v1_types + 0 }, | |
54 { "destroy", "", ext_foreign_toplevel_list_v1_types + 0 }, | |
55 }; | |
56 | |
57 static const struct wl_message ext_foreign_toplevel_list_v1_events[] = { | |
58 { "toplevel", "n", ext_foreign_toplevel_list_v1_types + 1 }, | |
59 { "finished", "", ext_foreign_toplevel_list_v1_types + 0 }, | |
60 }; | |
61 | |
62 WL_PRIVATE const struct wl_interface ext_foreign_toplevel_list_v1_interface = { | |
63 "ext_foreign_toplevel_list_v1", 1, | |
64 2, ext_foreign_toplevel_list_v1_requests, | |
65 2, ext_foreign_toplevel_list_v1_events, | |
66 }; | |
67 | |
68 static const struct wl_message ext_foreign_toplevel_handle_v1_requests[] = { | |
69 { "destroy", "", ext_foreign_toplevel_list_v1_types + 0 }, | |
70 }; | |
71 | |
72 static const struct wl_message ext_foreign_toplevel_handle_v1_events[] = { | |
73 { "closed", "", ext_foreign_toplevel_list_v1_types + 0 }, | |
74 { "done", "", ext_foreign_toplevel_list_v1_types + 0 }, | |
75 { "title", "s", ext_foreign_toplevel_list_v1_types + 0 }, | |
76 { "app_id", "s", ext_foreign_toplevel_list_v1_types + 0 }, | |
77 { "identifier", "s", ext_foreign_toplevel_list_v1_types + 0 }, | |
78 }; | |
79 | |
80 WL_PRIVATE const struct wl_interface ext_foreign_toplevel_handle_v1_interface = { | |
81 "ext_foreign_toplevel_handle_v1", 1, | |
82 1, ext_foreign_toplevel_handle_v1_requests, | |
83 5, ext_foreign_toplevel_handle_v1_events, | |
84 }; | |
85 |