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 20 matching lines...) Expand all Loading... |
31 extern const struct wl_interface zwp_notification_surface_v1_interface; | 31 extern const struct wl_interface zwp_notification_surface_v1_interface; |
32 extern const struct wl_interface zwp_remote_surface_v1_interface; | 32 extern const struct wl_interface zwp_remote_surface_v1_interface; |
33 | 33 |
34 static const struct wl_interface *types[] = { | 34 static const struct wl_interface *types[] = { |
35 NULL, | 35 NULL, |
36 NULL, | 36 NULL, |
37 NULL, | 37 NULL, |
38 NULL, | 38 NULL, |
39 NULL, | 39 NULL, |
40 NULL, | 40 NULL, |
| 41 NULL, |
| 42 NULL, |
| 43 NULL, |
| 44 NULL, |
| 45 NULL, |
| 46 NULL, |
| 47 NULL, |
| 48 NULL, |
| 49 NULL, |
| 50 NULL, |
| 51 NULL, |
41 &zwp_remote_surface_v1_interface, | 52 &zwp_remote_surface_v1_interface, |
42 &wl_surface_interface, | 53 &wl_surface_interface, |
43 NULL, | 54 NULL, |
44 &zwp_notification_surface_v1_interface, | 55 &zwp_notification_surface_v1_interface, |
45 &wl_surface_interface, | 56 &wl_surface_interface, |
46 NULL, | 57 NULL, |
47 &wl_surface_interface, | 58 &wl_surface_interface, |
48 &wl_surface_interface, | 59 &wl_surface_interface, |
49 }; | 60 }; |
50 | 61 |
51 static const struct wl_message zwp_remote_shell_v1_requests[] = { | 62 static const struct wl_message zwp_remote_shell_v1_requests[] = { |
52 { "destroy", "", types + 0 }, | 63 { "destroy", "", types + 0 }, |
53 » { "get_remote_surface", "nou", types + 6 }, | 64 » { "get_remote_surface", "nou", types + 17 }, |
54 » { "get_notification_surface", "6nos", types + 9 }, | 65 » { "get_notification_surface", "6nos", types + 20 }, |
55 }; | 66 }; |
56 | 67 |
57 static const struct wl_message zwp_remote_shell_v1_events[] = { | 68 static const struct wl_message zwp_remote_shell_v1_events[] = { |
58 { "configure", "iiiiii", types + 0 }, | 69 { "configure", "iiiiii", types + 0 }, |
59 » { "activated", "?o?o", types + 12 }, | 70 » { "activated", "?o?o", types + 23 }, |
60 { "layout_mode_changed", "8u", types + 0 }, | 71 { "layout_mode_changed", "8u", types + 0 }, |
| 72 { "display_changed", "9iiiiiiiiifiiiiiiu", types + 0 }, |
61 }; | 73 }; |
62 | 74 |
63 WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = { | 75 WL_EXPORT const struct wl_interface zwp_remote_shell_v1_interface = { |
64 » "zwp_remote_shell_v1", 8, | 76 » "zwp_remote_shell_v1", 9, |
65 3, zwp_remote_shell_v1_requests, | 77 3, zwp_remote_shell_v1_requests, |
66 » 3, zwp_remote_shell_v1_events, | 78 » 4, zwp_remote_shell_v1_events, |
67 }; | 79 }; |
68 | 80 |
69 static const struct wl_message zwp_remote_surface_v1_requests[] = { | 81 static const struct wl_message zwp_remote_surface_v1_requests[] = { |
70 { "destroy", "", types + 0 }, | 82 { "destroy", "", types + 0 }, |
71 { "set_app_id", "s", types + 0 }, | 83 { "set_app_id", "s", types + 0 }, |
72 { "set_window_geometry", "iiii", types + 0 }, | 84 { "set_window_geometry", "iiii", types + 0 }, |
73 { "set_scale", "f", types + 0 }, | 85 { "set_scale", "f", types + 0 }, |
74 { "fullscreen", "2", types + 0 }, | 86 { "fullscreen", "2", types + 0 }, |
75 { "maximize", "2", types + 0 }, | 87 { "maximize", "2", types + 0 }, |
76 { "minimize", "2", types + 0 }, | 88 { "minimize", "2", types + 0 }, |
77 { "restore", "2", types + 0 }, | 89 { "restore", "2", types + 0 }, |
78 { "pin", "3", types + 0 }, | 90 { "pin", "3", types + 0 }, |
79 { "unpin", "3", types + 0 }, | 91 { "unpin", "3", types + 0 }, |
80 { "unfullscreen", "3", types + 0 }, | 92 { "unfullscreen", "3", types + 0 }, |
81 { "set_rectangular_shadow", "4iiii", types + 0 }, | 93 { "set_rectangular_shadow", "4iiii", types + 0 }, |
82 { "set_title", "5s", types + 0 }, | 94 { "set_title", "5s", types + 0 }, |
83 { "set_top_inset", "5i", types + 0 }, | 95 { "set_top_inset", "5i", types + 0 }, |
84 { "set_system_modal", "8", types + 0 }, | 96 { "set_system_modal", "8", types + 0 }, |
85 { "unset_system_modal", "8", types + 0 }, | 97 { "unset_system_modal", "8", types + 0 }, |
| 98 { "set_background_opacity", "9f", types + 0 }, |
86 }; | 99 }; |
87 | 100 |
88 static const struct wl_message zwp_remote_surface_v1_events[] = { | 101 static const struct wl_message zwp_remote_surface_v1_events[] = { |
89 { "set_fullscreen", "", types + 0 }, | 102 { "set_fullscreen", "", types + 0 }, |
90 { "unset_fullscreen", "", types + 0 }, | 103 { "unset_fullscreen", "", types + 0 }, |
91 { "close", "", types + 0 }, | 104 { "close", "", types + 0 }, |
92 { "set_maximized", "2", types + 0 }, | 105 { "set_maximized", "2", types + 0 }, |
93 { "unset_maximized", "2", types + 0 }, | 106 { "unset_maximized", "2", types + 0 }, |
94 { "set_minimized", "2", types + 0 }, | 107 { "set_minimized", "2", types + 0 }, |
95 { "unset_minimized", "2", types + 0 }, | 108 { "unset_minimized", "2", types + 0 }, |
96 { "set_pinned", "3", types + 0 }, | 109 { "set_pinned", "3", types + 0 }, |
97 { "unset_pinned", "3", types + 0 }, | 110 { "unset_pinned", "3", types + 0 }, |
98 { "state_type_changed", "7u", types + 0 }, | 111 { "state_type_changed", "7u", types + 0 }, |
99 }; | 112 }; |
100 | 113 |
101 WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = { | 114 WL_EXPORT const struct wl_interface zwp_remote_surface_v1_interface = { |
102 » "zwp_remote_surface_v1", 8, | 115 » "zwp_remote_surface_v1", 9, |
103 » 16, zwp_remote_surface_v1_requests, | 116 » 17, zwp_remote_surface_v1_requests, |
104 10, zwp_remote_surface_v1_events, | 117 10, zwp_remote_surface_v1_events, |
105 }; | 118 }; |
106 | 119 |
107 static const struct wl_message zwp_notification_surface_v1_requests[] = { | 120 static const struct wl_message zwp_notification_surface_v1_requests[] = { |
108 { "destroy", "", types + 0 }, | 121 { "destroy", "", types + 0 }, |
109 }; | 122 }; |
110 | 123 |
111 WL_EXPORT const struct wl_interface zwp_notification_surface_v1_interface = { | 124 WL_EXPORT const struct wl_interface zwp_notification_surface_v1_interface = { |
112 "zwp_notification_surface_v1", 6, | 125 "zwp_notification_surface_v1", 6, |
113 1, zwp_notification_surface_v1_requests, | 126 1, zwp_notification_surface_v1_requests, |
114 0, NULL, | 127 0, NULL, |
115 }; | 128 }; |
116 | 129 |
OLD | NEW |