| OLD | NEW |
| 1 /* Generated by wayland-scanner 1.11.0 */ | 1 /* Generated by wayland-scanner 1.11.0 */ |
| 2 | 2 |
| 3 /* | 3 /* |
| 4 * Copyright 2016 The Chromium Authors. | 4 * Copyright 2016 The Chromium Authors. |
| 5 * | 5 * |
| 6 * Permission is hereby granted, free of charge, to any person obtaining a | 6 * Permission is hereby granted, free of charge, to any person obtaining a |
| 7 * copy of this software and associated documentation files (the "Software"), | 7 * copy of this software and associated documentation files (the "Software"), |
| 8 * to deal in the Software without restriction, including without limitation | 8 * to deal in the Software without restriction, including without limitation |
| 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense, | 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 10 * and/or sell copies of the Software, and to permit persons to whom the | 10 * and/or sell copies of the Software, and to permit persons to whom the |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 * DEALINGS IN THE SOFTWARE. | 23 * DEALINGS IN THE SOFTWARE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #include <stdlib.h> | 26 #include <stdlib.h> |
| 27 #include <stdint.h> | 27 #include <stdint.h> |
| 28 #include "wayland-util.h" | 28 #include "wayland-util.h" |
| 29 | 29 |
| 30 extern const struct wl_interface wl_surface_interface; | 30 extern const struct wl_interface wl_surface_interface; |
| 31 extern const struct wl_interface zcr_notification_surface_v1_interface; | 31 extern const struct wl_interface zcr_notification_surface_v1_interface; |
| 32 extern const struct wl_interface zcr_remote_surface_v1_interface; | 32 extern const struct wl_interface zcr_remote_surface_v1_interface; |
| 33 extern const struct wl_interface zwp_notification_surface_v1_interface; | |
| 34 extern const struct wl_interface zwp_remote_surface_v1_interface; | |
| 35 | 33 |
| 36 static const struct wl_interface *types[] = { | 34 static const struct wl_interface *types[] = { |
| 37 NULL, | 35 NULL, |
| 38 NULL, | 36 NULL, |
| 39 NULL, | 37 NULL, |
| 40 NULL, | 38 NULL, |
| 41 NULL, | 39 NULL, |
| 42 NULL, | 40 NULL, |
| 43 NULL, | 41 NULL, |
| 44 NULL, | 42 NULL, |
| 45 NULL, | 43 NULL, |
| 46 &zcr_remote_surface_v1_interface, | 44 &zcr_remote_surface_v1_interface, |
| 47 &wl_surface_interface, | 45 &wl_surface_interface, |
| 48 NULL, | 46 NULL, |
| 49 &zcr_notification_surface_v1_interface, | 47 &zcr_notification_surface_v1_interface, |
| 50 &wl_surface_interface, | 48 &wl_surface_interface, |
| 51 NULL, | 49 NULL, |
| 52 &wl_surface_interface, | 50 &wl_surface_interface, |
| 53 &wl_surface_interface, | 51 &wl_surface_interface, |
| 54 &zwp_remote_surface_v1_interface, | |
| 55 &wl_surface_interface, | |
| 56 NULL, | |
| 57 &zwp_notification_surface_v1_interface, | |
| 58 &wl_surface_interface, | |
| 59 NULL, | |
| 60 &wl_surface_interface, | |
| 61 &wl_surface_interface, | |
| 62 }; | 52 }; |
| 63 | 53 |
| 64 static const struct wl_message zcr_remote_shell_v1_requests[] = { | 54 static const struct wl_message zcr_remote_shell_v1_requests[] = { |
| 65 { "destroy", "", types + 0 }, | 55 { "destroy", "", types + 0 }, |
| 66 { "get_remote_surface", "nou", types + 9 }, | 56 { "get_remote_surface", "nou", types + 9 }, |
| 67 { "get_notification_surface", "nos", types + 12 }, | 57 { "get_notification_surface", "nos", types + 12 }, |
| 68 }; | 58 }; |
| 69 | 59 |
| 70 static const struct wl_message zcr_remote_shell_v1_events[] = { | 60 static const struct wl_message zcr_remote_shell_v1_events[] = { |
| 71 { "activated", "?o?o", types + 15 }, | 61 { "activated", "?o?o", types + 15 }, |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 static const struct wl_message zcr_notification_surface_v1_requests[] = { | 103 static const struct wl_message zcr_notification_surface_v1_requests[] = { |
| 114 { "destroy", "", types + 0 }, | 104 { "destroy", "", types + 0 }, |
| 115 }; | 105 }; |
| 116 | 106 |
| 117 WL_EXPORT const struct wl_interface zcr_notification_surface_v1_interface = { | 107 WL_EXPORT const struct wl_interface zcr_notification_surface_v1_interface = { |
| 118 "zcr_notification_surface_v1", 1, | 108 "zcr_notification_surface_v1", 1, |
| 119 1, zcr_notification_surface_v1_requests, | 109 1, zcr_notification_surface_v1_requests, |
| 120 0, NULL, | 110 0, NULL, |
| 121 }; | 111 }; |
| 122 | 112 |
| 123 static const struct wl_message zwp_remote_shell_v1_requests[] = { | |
| 124 { "destroy", "", types + 0 }, | |
| 125 { "get_remote_surface", "nou", types + 17 }, | |
| 126 { "get_notification_surface", "6nos", types + 20 }, | |
| 127 }; | |
| 128 | |
| 129 static const struct wl_message zwp_remote_shell_v1_events[] = { | |
| 130 { "configure", "iiiiii", types + 0 }, | |
| 131 { "activated", "?o?o", types + 23 }, | |
| 132 { "layout_mode_changed", "8u", types + 0 }, | |
| 133 { "configuration_changed", "9iiifiiiiu", types + 0 }, | |
| 134 }; | |
| 135 | |
| 136 WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = { | |
| 137 "zwp_remote_shell_v1", 11, | |
| 138 3, zwp_remote_shell_v1_requests, | |
| 139 4, zwp_remote_shell_v1_events, | |
| 140 }; | |
| 141 | |
| 142 static const struct wl_message zwp_remote_surface_v1_requests[] = { | |
| 143 { "destroy", "", types + 0 }, | |
| 144 { "set_app_id", "s", types + 0 }, | |
| 145 { "set_window_geometry", "iiii", types + 0 }, | |
| 146 { "set_scale", "f", types + 0 }, | |
| 147 { "fullscreen", "2", types + 0 }, | |
| 148 { "maximize", "2", types + 0 }, | |
| 149 { "minimize", "2", types + 0 }, | |
| 150 { "restore", "2", types + 0 }, | |
| 151 { "pin", "3", types + 0 }, | |
| 152 { "unpin", "3", types + 0 }, | |
| 153 { "unfullscreen", "3", types + 0 }, | |
| 154 { "set_rectangular_shadow", "4iiii", types + 0 }, | |
| 155 { "set_title", "5s", types + 0 }, | |
| 156 { "set_top_inset", "5i", types + 0 }, | |
| 157 { "set_system_modal", "8", types + 0 }, | |
| 158 { "unset_system_modal", "8", types + 0 }, | |
| 159 { "set_rectangular_shadow_background_opacity", "9f", types + 0 }, | |
| 160 { "activate", "10u", types + 0 }, | |
| 161 { "pin_with_trusted_flag", "11i", types + 0 }, | |
| 162 }; | |
| 163 | |
| 164 static const struct wl_message zwp_remote_surface_v1_events[] = { | |
| 165 { "set_fullscreen", "", types + 0 }, | |
| 166 { "unset_fullscreen", "", types + 0 }, | |
| 167 { "close", "", types + 0 }, | |
| 168 { "set_maximized", "2", types + 0 }, | |
| 169 { "unset_maximized", "2", types + 0 }, | |
| 170 { "set_minimized", "2", types + 0 }, | |
| 171 { "unset_minimized", "2", types + 0 }, | |
| 172 { "set_pinned", "3", types + 0 }, | |
| 173 { "unset_pinned", "3", types + 0 }, | |
| 174 { "state_type_changed", "7u", types + 0 }, | |
| 175 }; | |
| 176 | |
| 177 WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = { | |
| 178 "zwp_remote_surface_v1", 11, | |
| 179 19, zwp_remote_surface_v1_requests, | |
| 180 10, zwp_remote_surface_v1_events, | |
| 181 }; | |
| 182 | |
| 183 static const struct wl_message zwp_notification_surface_v1_requests[] = { | |
| 184 { "destroy", "", types + 0 }, | |
| 185 }; | |
| 186 | |
| 187 WL_EXPORT const struct wl_interface zwp_notification_surface_v1_interface = { | |
| 188 "zwp_notification_surface_v1", 6, | |
| 189 1, zwp_notification_surface_v1_requests, | |
| 190 0, NULL, | |
| 191 }; | |
| 192 | |
| OLD | NEW |