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 zcr_security_v1_interface; |
31 extern const struct wl_interface zwp_security_v1_interface; | 32 extern const struct wl_interface zwp_security_v1_interface; |
32 | 33 |
33 static const struct wl_interface *types[] = { | 34 static const struct wl_interface *types[] = { |
| 35 &zcr_security_v1_interface, |
| 36 &wl_surface_interface, |
34 &zwp_security_v1_interface, | 37 &zwp_security_v1_interface, |
35 &wl_surface_interface, | 38 &wl_surface_interface, |
36 }; | 39 }; |
37 | 40 |
| 41 static const struct wl_message zcr_secure_output_v1_requests[] = { |
| 42 { "destroy", "", types + 0 }, |
| 43 { "get_security", "no", types + 0 }, |
| 44 }; |
| 45 |
| 46 WL_EXPORT const struct wl_interface zcr_secure_output_v1_interface = { |
| 47 "zcr_secure_output_v1", 1, |
| 48 2, zcr_secure_output_v1_requests, |
| 49 0, NULL, |
| 50 }; |
| 51 |
| 52 static const struct wl_message zcr_security_v1_requests[] = { |
| 53 { "destroy", "", types + 0 }, |
| 54 { "only_visible_on_secure_output", "", types + 0 }, |
| 55 }; |
| 56 |
| 57 WL_EXPORT const struct wl_interface zcr_security_v1_interface = { |
| 58 "zcr_security_v1", 1, |
| 59 2, zcr_security_v1_requests, |
| 60 0, NULL, |
| 61 }; |
| 62 |
38 static const struct wl_message zwp_secure_output_v1_requests[] = { | 63 static const struct wl_message zwp_secure_output_v1_requests[] = { |
39 { "destroy", "", types + 0 }, | 64 { "destroy", "", types + 0 }, |
40 » { "get_security", "no", types + 0 }, | 65 » { "get_security", "no", types + 2 }, |
41 }; | 66 }; |
42 | 67 |
43 WL_EXPORT const struct wl_interface zwp_secure_output_v1_interface = { | 68 WL_EXPORT const struct wl_interface zwp_secure_output_v1_interface = { |
44 "zwp_secure_output_v1", 1, | 69 "zwp_secure_output_v1", 1, |
45 2, zwp_secure_output_v1_requests, | 70 2, zwp_secure_output_v1_requests, |
46 0, NULL, | 71 0, NULL, |
47 }; | 72 }; |
48 | 73 |
49 static const struct wl_message zwp_security_v1_requests[] = { | 74 static const struct wl_message zwp_security_v1_requests[] = { |
50 { "destroy", "", types + 0 }, | 75 { "destroy", "", types + 0 }, |
51 { "only_visible_on_secure_output", "", types + 0 }, | 76 { "only_visible_on_secure_output", "", types + 0 }, |
52 }; | 77 }; |
53 | 78 |
54 WL_EXPORT const struct wl_interface zwp_security_v1_interface = { | 79 WL_EXPORT const struct wl_interface zwp_security_v1_interface = { |
55 "zwp_security_v1", 1, | 80 "zwp_security_v1", 1, |
56 2, zwp_security_v1_requests, | 81 2, zwp_security_v1_requests, |
57 0, NULL, | 82 0, NULL, |
58 }; | 83 }; |
59 | 84 |
OLD | NEW |