1/*
2 * This file is *NOT* autogenerated.
3 * It contains XDGShellV5 with method names modified to be not clashing with XDG stable
4 * Strings inside the sent protocol remain the same
5 */
6/*
7 * SPDX-FileCopyrightText: 2008-2013 Kristian Høgsberg
8 * SPDX-FileCopyrightText: 2013 Rafael Antognolli
9 * SPDX-FileCopyrightText: 2013 Jasper St. Pierre
10 * SPDX-FileCopyrightText: 2010-2013 Intel Corporation
11 *
12 * SPDX-License-Identifier: MIT
13 */
14
15#include "wayland-util.h"
16#include <stdint.h>
17#include <stdlib.h>
18
19extern const struct wl_interface wl_output_interface;
20extern const struct wl_interface wl_seat_interface;
21extern const struct wl_interface wl_surface_interface;
22extern const struct wl_interface zxdg_popup_v5_interface;
23extern const struct wl_interface zxdg_surface_v5_interface;
24
25static const struct wl_interface *types[] = {
26 NULL,
27 NULL,
28 NULL,
29 NULL,
30 &zxdg_surface_v5_interface,
31 &wl_surface_interface,
32 &zxdg_popup_v5_interface,
33 &wl_surface_interface,
34 &wl_surface_interface,
35 &wl_seat_interface,
36 NULL,
37 NULL,
38 NULL,
39 &zxdg_surface_v5_interface,
40 &wl_seat_interface,
41 NULL,
42 NULL,
43 NULL,
44 &wl_seat_interface,
45 NULL,
46 &wl_seat_interface,
47 NULL,
48 NULL,
49 &wl_output_interface,
50};
51
52static const struct wl_message zxdg_shell_v5_requests[] = {
53 {"destroy", "", types + 0},
54 {"use_unstable_version", "i", types + 0},
55 {"get_xdg_surface", "no", types + 4},
56 {"get_xdg_popup", "nooouii", types + 6},
57 {"pong", "u", types + 0},
58};
59
60static const struct wl_message zxdg_shell_v5_events[] = {
61 {"ping", "u", types + 0},
62};
63
64WL_EXPORT const struct wl_interface zxdg_shell_v5_interface = {
65 "xdg_shell",
66 1,
67 5,
68 zxdg_shell_v5_requests,
69 1,
70 zxdg_shell_v5_events,
71};
72
73static const struct wl_message zxdg_surface_v5_requests[] = {
74 {.name: "destroy", .signature: "", .types: types + 0},
75 {"set_parent", "?o", types + 13},
76 {"set_title", "s", types + 0},
77 {"set_app_id", "s", types + 0},
78 {"show_window_menu", "ouii", types + 14},
79 {"move", "ou", types + 18},
80 {"resize", "ouu", types + 20},
81 {"ack_configure", "u", types + 0},
82 {"set_window_geometry", "iiii", types + 0},
83 {"set_maximized", "", types + 0},
84 {"unset_maximized", "", types + 0},
85 {"set_fullscreen", "?o", types + 23},
86 {"unset_fullscreen", "", types + 0},
87 {"set_minimized", "", types + 0},
88};
89
90static const struct wl_message zxdg_surface_v5_events[] = {
91 {"configure", "iiau", types + 0},
92 {"close", "", types + 0},
93};
94
95WL_EXPORT const struct wl_interface zxdg_surface_v5_interface = {
96 "xdg_surface",
97 1,
98 14,
99 zxdg_surface_v5_requests,
100 2,
101 zxdg_surface_v5_events,
102};
103
104static const struct wl_message zxdg_popup_v5_requests[] = {
105 {.name: "destroy", .signature: "", .types: types + 0},
106};
107
108static const struct wl_message zxdg_popup_v5_events[] = {
109 {"popup_done", "", types + 0},
110};
111
112WL_EXPORT const struct wl_interface zxdg_popup_v5_interface = {
113 "xdg_popup",
114 1,
115 1,
116 zxdg_popup_v5_requests,
117 1,
118 zxdg_popup_v5_events,
119};
120

source code of kwayland/src/compat/wayland-xdg-shell-v5-protocol.c