SDL  2.0
xdg-shell-unstable-v6-protocol.c
Go to the documentation of this file.
1 /* Generated by wayland-scanner 1.15.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 
33 extern const struct wl_interface wl_output_interface;
34 extern const struct wl_interface wl_seat_interface;
35 extern const struct wl_interface wl_surface_interface;
36 extern const struct wl_interface zxdg_popup_v6_interface;
37 extern const struct wl_interface zxdg_positioner_v6_interface;
38 extern const struct wl_interface zxdg_surface_v6_interface;
39 extern const struct wl_interface zxdg_toplevel_v6_interface;
40 
41 static const struct wl_interface *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 
68 static const struct wl_message zxdg_shell_v6_requests[] = {
69  { "destroy", "", types + 0 },
70  { "create_positioner", "n", types + 4 },
71  { "get_xdg_surface", "no", types + 5 },
72  { "pong", "u", types + 0 },
73 };
74 
75 static const struct wl_message zxdg_shell_v6_events[] = {
76  { "ping", "u", types + 0 },
77 };
78 
79 WL_EXPORT const struct wl_interface zxdg_shell_v6_interface = {
80  "zxdg_shell_v6", 1,
83 };
84 
85 static const struct wl_message zxdg_positioner_v6_requests[] = {
86  { "destroy", "", types + 0 },
87  { "set_size", "ii", types + 0 },
88  { "set_anchor_rect", "iiii", types + 0 },
89  { "set_anchor", "u", types + 0 },
90  { "set_gravity", "u", types + 0 },
91  { "set_constraint_adjustment", "u", types + 0 },
92  { "set_offset", "ii", types + 0 },
93 };
94 
95 WL_EXPORT const struct wl_interface zxdg_positioner_v6_interface = {
96  "zxdg_positioner_v6", 1,
98  0, NULL,
99 };
100 
101 static const struct wl_message zxdg_surface_v6_requests[] = {
102  { "destroy", "", types + 0 },
103  { "get_toplevel", "n", types + 7 },
104  { "get_popup", "noo", types + 8 },
105  { "set_window_geometry", "iiii", types + 0 },
106  { "ack_configure", "u", types + 0 },
107 };
108 
109 static const struct wl_message zxdg_surface_v6_events[] = {
110  { "configure", "u", types + 0 },
111 };
112 
113 WL_EXPORT const struct wl_interface zxdg_surface_v6_interface = {
114  "zxdg_surface_v6", 1,
117 };
118 
119 static const struct wl_message zxdg_toplevel_v6_requests[] = {
120  { "destroy", "", types + 0 },
121  { "set_parent", "?o", types + 11 },
122  { "set_title", "s", types + 0 },
123  { "set_app_id", "s", types + 0 },
124  { "show_window_menu", "ouii", types + 12 },
125  { "move", "ou", types + 16 },
126  { "resize", "ouu", types + 18 },
127  { "set_max_size", "ii", types + 0 },
128  { "set_min_size", "ii", types + 0 },
129  { "set_maximized", "", types + 0 },
130  { "unset_maximized", "", types + 0 },
131  { "set_fullscreen", "?o", types + 21 },
132  { "unset_fullscreen", "", types + 0 },
133  { "set_minimized", "", types + 0 },
134 };
135 
136 static const struct wl_message zxdg_toplevel_v6_events[] = {
137  { "configure", "iia", types + 0 },
138  { "close", "", types + 0 },
139 };
140 
141 WL_EXPORT const struct wl_interface zxdg_toplevel_v6_interface = {
142  "zxdg_toplevel_v6", 1,
145 };
146 
147 static const struct wl_message zxdg_popup_v6_requests[] = {
148  { "destroy", "", types + 0 },
149  { "grab", "ou", types + 22 },
150 };
151 
152 static const struct wl_message zxdg_popup_v6_events[] = {
153  { "configure", "iiii", types + 0 },
154  { "popup_done", "", types + 0 },
155 };
156 
157 WL_EXPORT const struct wl_interface zxdg_popup_v6_interface = {
158  "zxdg_popup_v6", 1,
161 };
162 
static const struct wl_message zxdg_shell_v6_events[]
static const struct wl_message zxdg_popup_v6_requests[]
static const struct wl_message zxdg_surface_v6_events[]
const struct wl_interface wl_surface_interface
GLsizei GLenum GLenum * types
static const struct wl_message zxdg_positioner_v6_requests[]
static const struct wl_message zxdg_toplevel_v6_events[]
const struct wl_interface zxdg_popup_v6_interface
static const struct wl_message zxdg_surface_v6_requests[]
static const struct wl_message zxdg_popup_v6_events[]
static const struct wl_message zxdg_toplevel_v6_requests[]
const struct wl_interface zxdg_toplevel_v6_interface
const struct wl_interface zxdg_positioner_v6_interface
WL_EXPORT const struct wl_interface zxdg_shell_v6_interface
#define NULL
Definition: begin_code.h:164
const struct wl_interface wl_output_interface
const struct wl_interface wl_seat_interface
const struct wl_interface zxdg_surface_v6_interface
static const struct wl_message zxdg_shell_v6_requests[]