File indexing completed on 2025-01-26 05:01:49
0001 /* 0002 * This file is *NOT* autogenerated. 0003 * It contains XDGShellV5 with method names modified to be not clashing with XDG stable 0004 * Strings inside the sent protocol remain the same 0005 */ 0006 /* 0007 * SPDX-FileCopyrightText: 2008-2013 Kristian Høgsberg 0008 * SPDX-FileCopyrightText: 2013 Rafael Antognolli 0009 * SPDX-FileCopyrightText: 2013 Jasper St. Pierre 0010 * SPDX-FileCopyrightText: 2010-2013 Intel Corporation 0011 * 0012 * SPDX-License-Identifier: MIT 0013 */ 0014 0015 #include "wayland-util.h" 0016 #include <stdint.h> 0017 #include <stdlib.h> 0018 0019 extern const struct wl_interface wl_output_interface; 0020 extern const struct wl_interface wl_seat_interface; 0021 extern const struct wl_interface wl_surface_interface; 0022 extern const struct wl_interface zxdg_popup_v5_interface; 0023 extern const struct wl_interface zxdg_surface_v5_interface; 0024 0025 static const struct wl_interface *types[] = { 0026 NULL, 0027 NULL, 0028 NULL, 0029 NULL, 0030 &zxdg_surface_v5_interface, 0031 &wl_surface_interface, 0032 &zxdg_popup_v5_interface, 0033 &wl_surface_interface, 0034 &wl_surface_interface, 0035 &wl_seat_interface, 0036 NULL, 0037 NULL, 0038 NULL, 0039 &zxdg_surface_v5_interface, 0040 &wl_seat_interface, 0041 NULL, 0042 NULL, 0043 NULL, 0044 &wl_seat_interface, 0045 NULL, 0046 &wl_seat_interface, 0047 NULL, 0048 NULL, 0049 &wl_output_interface, 0050 }; 0051 0052 static const struct wl_message zxdg_shell_v5_requests[] = { 0053 {"destroy", "", types + 0}, 0054 {"use_unstable_version", "i", types + 0}, 0055 {"get_xdg_surface", "no", types + 4}, 0056 {"get_xdg_popup", "nooouii", types + 6}, 0057 {"pong", "u", types + 0}, 0058 }; 0059 0060 static const struct wl_message zxdg_shell_v5_events[] = { 0061 {"ping", "u", types + 0}, 0062 }; 0063 0064 WL_EXPORT const struct wl_interface zxdg_shell_v5_interface = { 0065 "xdg_shell", 0066 1, 0067 5, 0068 zxdg_shell_v5_requests, 0069 1, 0070 zxdg_shell_v5_events, 0071 }; 0072 0073 static const struct wl_message zxdg_surface_v5_requests[] = { 0074 {"destroy", "", types + 0}, 0075 {"set_parent", "?o", types + 13}, 0076 {"set_title", "s", types + 0}, 0077 {"set_app_id", "s", types + 0}, 0078 {"show_window_menu", "ouii", types + 14}, 0079 {"move", "ou", types + 18}, 0080 {"resize", "ouu", types + 20}, 0081 {"ack_configure", "u", types + 0}, 0082 {"set_window_geometry", "iiii", types + 0}, 0083 {"set_maximized", "", types + 0}, 0084 {"unset_maximized", "", types + 0}, 0085 {"set_fullscreen", "?o", types + 23}, 0086 {"unset_fullscreen", "", types + 0}, 0087 {"set_minimized", "", types + 0}, 0088 }; 0089 0090 static const struct wl_message zxdg_surface_v5_events[] = { 0091 {"configure", "iiau", types + 0}, 0092 {"close", "", types + 0}, 0093 }; 0094 0095 WL_EXPORT const struct wl_interface zxdg_surface_v5_interface = { 0096 "xdg_surface", 0097 1, 0098 14, 0099 zxdg_surface_v5_requests, 0100 2, 0101 zxdg_surface_v5_events, 0102 }; 0103 0104 static const struct wl_message zxdg_popup_v5_requests[] = { 0105 {"destroy", "", types + 0}, 0106 }; 0107 0108 static const struct wl_message zxdg_popup_v5_events[] = { 0109 {"popup_done", "", types + 0}, 0110 }; 0111 0112 WL_EXPORT const struct wl_interface zxdg_popup_v5_interface = { 0113 "xdg_popup", 0114 1, 0115 1, 0116 zxdg_popup_v5_requests, 0117 1, 0118 zxdg_popup_v5_events, 0119 };