SDL 2.0
xdg-shell-unstable-v6-protocol.c
Go to the documentation of this file.
1/* Generated by wayland-scanner 1.20.0 */
2
3/*
4 * Copyright © 2008-2013 Kristian Høgsberg
5 * Copyright © 2013 Rafael Antognolli
6 * Copyright © 2013 Jasper St. Pierre
7 * Copyright © 2010-2013 Intel Corporation
8 *
9 * Permission is hereby granted, free of charge, to any person obtaining a
10 * copy of this software and associated documentation files (the "Software"),
11 * to deal in the Software without restriction, including without limitation
12 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13 * and/or sell copies of the Software, and to permit persons to whom the
14 * Software is furnished to do so, subject to the following conditions:
15 *
16 * The above copyright notice and this permission notice (including the next
17 * paragraph) shall be included in all copies or substantial portions of the
18 * Software.
19 *
20 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
23 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26 * DEALINGS IN THE SOFTWARE.
27 */
28
29#include <stdlib.h>
30#include <stdint.h>
31#include "wayland-util.h"
32
33extern const struct wl_interface wl_output_interface;
34extern const struct wl_interface wl_seat_interface;
35extern const struct wl_interface wl_surface_interface;
36extern const struct wl_interface zxdg_popup_v6_interface;
37extern const struct wl_interface zxdg_positioner_v6_interface;
38extern const struct wl_interface zxdg_surface_v6_interface;
39extern const struct wl_interface zxdg_toplevel_v6_interface;
40
41static const struct wl_interface *xdg_shell_unstable_v6_types[] = {
42 NULL,
43 NULL,
44 NULL,
45 NULL,
55 NULL,
56 NULL,
57 NULL,
59 NULL,
61 NULL,
62 NULL,
65 NULL,
66};
67
68static const struct wl_message zxdg_shell_v6_requests[] = {
69 { "destroy", "", xdg_shell_unstable_v6_types + 0 },
70 { "create_positioner", "n", xdg_shell_unstable_v6_types + 4 },
71 { "get_xdg_surface", "no", xdg_shell_unstable_v6_types + 5 },
72 { "pong", "u", xdg_shell_unstable_v6_types + 0 },
73};
74
75static const struct wl_message zxdg_shell_v6_events[] = {
76 { "ping", "u", xdg_shell_unstable_v6_types + 0 },
77};
78
79WL_EXPORT const struct wl_interface zxdg_shell_v6_interface = {
80 "zxdg_shell_v6", 1,
83};
84
85static const struct wl_message zxdg_positioner_v6_requests[] = {
86 { "destroy", "", xdg_shell_unstable_v6_types + 0 },
87 { "set_size", "ii", xdg_shell_unstable_v6_types + 0 },
88 { "set_anchor_rect", "iiii", xdg_shell_unstable_v6_types + 0 },
89 { "set_anchor", "u", xdg_shell_unstable_v6_types + 0 },
90 { "set_gravity", "u", xdg_shell_unstable_v6_types + 0 },
91 { "set_constraint_adjustment", "u", xdg_shell_unstable_v6_types + 0 },
92 { "set_offset", "ii", xdg_shell_unstable_v6_types + 0 },
93};
94
95WL_EXPORT const struct wl_interface zxdg_positioner_v6_interface = {
96 "zxdg_positioner_v6", 1,
98 0, NULL,
99};
100
101static const struct wl_message zxdg_surface_v6_requests[] = {
102 { "destroy", "", xdg_shell_unstable_v6_types + 0 },
103 { "get_toplevel", "n", xdg_shell_unstable_v6_types + 7 },
104 { "get_popup", "noo", xdg_shell_unstable_v6_types + 8 },
105 { "set_window_geometry", "iiii", xdg_shell_unstable_v6_types + 0 },
106 { "ack_configure", "u", xdg_shell_unstable_v6_types + 0 },
107};
108
109static const struct wl_message zxdg_surface_v6_events[] = {
110 { "configure", "u", xdg_shell_unstable_v6_types + 0 },
111};
112
113WL_EXPORT const struct wl_interface zxdg_surface_v6_interface = {
114 "zxdg_surface_v6", 1,
117};
118
119static const struct wl_message zxdg_toplevel_v6_requests[] = {
120 { "destroy", "", xdg_shell_unstable_v6_types + 0 },
121 { "set_parent", "?o", xdg_shell_unstable_v6_types + 11 },
122 { "set_title", "s", xdg_shell_unstable_v6_types + 0 },
123 { "set_app_id", "s", xdg_shell_unstable_v6_types + 0 },
124 { "show_window_menu", "ouii", xdg_shell_unstable_v6_types + 12 },
125 { "move", "ou", xdg_shell_unstable_v6_types + 16 },
126 { "resize", "ouu", xdg_shell_unstable_v6_types + 18 },
127 { "set_max_size", "ii", xdg_shell_unstable_v6_types + 0 },
128 { "set_min_size", "ii", xdg_shell_unstable_v6_types + 0 },
129 { "set_maximized", "", xdg_shell_unstable_v6_types + 0 },
130 { "unset_maximized", "", xdg_shell_unstable_v6_types + 0 },
131 { "set_fullscreen", "?o", xdg_shell_unstable_v6_types + 21 },
132 { "unset_fullscreen", "", xdg_shell_unstable_v6_types + 0 },
133 { "set_minimized", "", xdg_shell_unstable_v6_types + 0 },
134};
135
136static const struct wl_message zxdg_toplevel_v6_events[] = {
137 { "configure", "iia", xdg_shell_unstable_v6_types + 0 },
138 { "close", "", xdg_shell_unstable_v6_types + 0 },
139};
140
141WL_EXPORT const struct wl_interface zxdg_toplevel_v6_interface = {
142 "zxdg_toplevel_v6", 1,
145};
146
147static const struct wl_message zxdg_popup_v6_requests[] = {
148 { "destroy", "", xdg_shell_unstable_v6_types + 0 },
149 { "grab", "ou", xdg_shell_unstable_v6_types + 22 },
150};
151
152static const struct wl_message zxdg_popup_v6_events[] = {
153 { "configure", "iiii", xdg_shell_unstable_v6_types + 0 },
154 { "popup_done", "", xdg_shell_unstable_v6_types + 0 },
155};
156
157WL_EXPORT const struct wl_interface zxdg_popup_v6_interface = {
158 "zxdg_popup_v6", 1,
161};
162
#define NULL
Definition: begin_code.h:167
static const struct wl_message zxdg_positioner_v6_requests[]
static const struct wl_message zxdg_popup_v6_events[]
WL_EXPORT const struct wl_interface zxdg_shell_v6_interface
static const struct wl_message zxdg_surface_v6_events[]
const struct wl_interface zxdg_surface_v6_interface
static const struct wl_message zxdg_shell_v6_events[]
const struct wl_interface zxdg_popup_v6_interface
static const struct wl_message zxdg_popup_v6_requests[]
static const struct wl_message zxdg_surface_v6_requests[]
static const struct wl_interface * xdg_shell_unstable_v6_types[]
const struct wl_interface zxdg_positioner_v6_interface
const struct wl_interface wl_surface_interface
const struct wl_interface wl_seat_interface
static const struct wl_message zxdg_shell_v6_requests[]
static const struct wl_message zxdg_toplevel_v6_requests[]
static const struct wl_message zxdg_toplevel_v6_events[]
const struct wl_interface zxdg_toplevel_v6_interface
const struct wl_interface wl_output_interface