| 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 10 matching lines...) Expand all Loading... |
| 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
| 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 zwp_notification_surface_v1_interface; |
| 31 extern const struct wl_interface zwp_remote_surface_v1_interface; | 32 extern const struct wl_interface zwp_remote_surface_v1_interface; |
| 32 | 33 |
| 33 static const struct wl_interface *types[] = { | 34 static const struct wl_interface *types[] = { |
| 34 NULL, | 35 NULL, |
| 35 NULL, | 36 NULL, |
| 36 NULL, | 37 NULL, |
| 37 NULL, | 38 NULL, |
| 38 NULL, | 39 NULL, |
| 39 NULL, | 40 NULL, |
| 40 &zwp_remote_surface_v1_interface, | 41 &zwp_remote_surface_v1_interface, |
| 41 &wl_surface_interface, | 42 &wl_surface_interface, |
| 42 NULL, | 43 NULL, |
| 44 &zwp_notification_surface_v1_interface, |
| 45 &wl_surface_interface, |
| 46 NULL, |
| 43 &wl_surface_interface, | 47 &wl_surface_interface, |
| 44 &wl_surface_interface, | 48 &wl_surface_interface, |
| 45 }; | 49 }; |
| 46 | 50 |
| 47 static const struct wl_message zwp_remote_shell_v1_requests[] = { | 51 static const struct wl_message zwp_remote_shell_v1_requests[] = { |
| 48 { "destroy", "", types + 0 }, | 52 { "destroy", "", types + 0 }, |
| 49 { "get_remote_surface", "nou", types + 6 }, | 53 { "get_remote_surface", "nou", types + 6 }, |
| 54 { "get_notification_surface", "6nos", types + 9 }, |
| 50 }; | 55 }; |
| 51 | 56 |
| 52 static const struct wl_message zwp_remote_shell_v1_events[] = { | 57 static const struct wl_message zwp_remote_shell_v1_events[] = { |
| 53 { "configure", "iiiiii", types + 0 }, | 58 { "configure", "iiiiii", types + 0 }, |
| 54 » { "activated", "?o?o", types + 9 }, | 59 » { "activated", "?o?o", types + 12 }, |
| 55 }; | 60 }; |
| 56 | 61 |
| 57 WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = { | 62 WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = { |
| 58 » "zwp_remote_shell_v1", 5, | 63 » "zwp_remote_shell_v1", 6, |
| 59 » 2, zwp_remote_shell_v1_requests, | 64 » 3, zwp_remote_shell_v1_requests, |
| 60 2, zwp_remote_shell_v1_events, | 65 2, zwp_remote_shell_v1_events, |
| 61 }; | 66 }; |
| 62 | 67 |
| 63 static const struct wl_message zwp_remote_surface_v1_requests[] = { | 68 static const struct wl_message zwp_remote_surface_v1_requests[] = { |
| 64 { "destroy", "", types + 0 }, | 69 { "destroy", "", types + 0 }, |
| 65 { "set_app_id", "s", types + 0 }, | 70 { "set_app_id", "s", types + 0 }, |
| 66 { "set_window_geometry", "iiii", types + 0 }, | 71 { "set_window_geometry", "iiii", types + 0 }, |
| 67 { "set_scale", "f", types + 0 }, | 72 { "set_scale", "f", types + 0 }, |
| 68 { "fullscreen", "2", types + 0 }, | 73 { "fullscreen", "2", types + 0 }, |
| 69 { "maximize", "2", types + 0 }, | 74 { "maximize", "2", types + 0 }, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 83 { "close", "", types + 0 }, | 88 { "close", "", types + 0 }, |
| 84 { "set_maximized", "2", types + 0 }, | 89 { "set_maximized", "2", types + 0 }, |
| 85 { "unset_maximized", "2", types + 0 }, | 90 { "unset_maximized", "2", types + 0 }, |
| 86 { "set_minimized", "2", types + 0 }, | 91 { "set_minimized", "2", types + 0 }, |
| 87 { "unset_minimized", "2", types + 0 }, | 92 { "unset_minimized", "2", types + 0 }, |
| 88 { "set_pinned", "3", types + 0 }, | 93 { "set_pinned", "3", types + 0 }, |
| 89 { "unset_pinned", "3", types + 0 }, | 94 { "unset_pinned", "3", types + 0 }, |
| 90 }; | 95 }; |
| 91 | 96 |
| 92 WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = { | 97 WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = { |
| 93 » "zwp_remote_surface_v1", 5, | 98 » "zwp_remote_surface_v1", 6, |
| 94 14, zwp_remote_surface_v1_requests, | 99 14, zwp_remote_surface_v1_requests, |
| 95 9, zwp_remote_surface_v1_events, | 100 9, zwp_remote_surface_v1_events, |
| 96 }; | 101 }; |
| 97 | 102 |
| 103 static const struct wl_message zwp_notification_surface_v1_requests[] = { |
| 104 { "destroy", "", types + 0 }, |
| 105 }; |
| 106 |
| 107 WL_EXPORT const struct wl_interface zwp_notification_surface_v1_interface = { |
| 108 "zwp_notification_surface_v1", 6, |
| 109 1, zwp_notification_surface_v1_requests, |
| 110 0, NULL, |
| 111 }; |
| 112 |
| OLD | NEW |