Index: third_party/wayland-protocols/protocol/secure-output-protocol.c |
diff --git a/third_party/wayland-protocols/protocol/secure-output-protocol.c b/third_party/wayland-protocols/protocol/secure-output-protocol.c |
index b8cf0f60665aadb68f3f9ad04cbe158acc87df3b..0cf72e57ddd9f21728275ef2b4fa091594a1a75f 100644 |
--- a/third_party/wayland-protocols/protocol/secure-output-protocol.c |
+++ b/third_party/wayland-protocols/protocol/secure-output-protocol.c |
@@ -28,18 +28,43 @@ |
#include "wayland-util.h" |
extern const struct wl_interface wl_surface_interface; |
+extern const struct wl_interface zcr_security_v1_interface; |
extern const struct wl_interface zwp_security_v1_interface; |
static const struct wl_interface *types[] = { |
+ &zcr_security_v1_interface, |
+ &wl_surface_interface, |
&zwp_security_v1_interface, |
&wl_surface_interface, |
}; |
-static const struct wl_message zwp_secure_output_v1_requests[] = { |
+static const struct wl_message zcr_secure_output_v1_requests[] = { |
{ "destroy", "", types + 0 }, |
{ "get_security", "no", types + 0 }, |
}; |
+WL_EXPORT const struct wl_interface zcr_secure_output_v1_interface = { |
+ "zcr_secure_output_v1", 1, |
+ 2, zcr_secure_output_v1_requests, |
+ 0, NULL, |
+}; |
+ |
+static const struct wl_message zcr_security_v1_requests[] = { |
+ { "destroy", "", types + 0 }, |
+ { "only_visible_on_secure_output", "", types + 0 }, |
+}; |
+ |
+WL_EXPORT const struct wl_interface zcr_security_v1_interface = { |
+ "zcr_security_v1", 1, |
+ 2, zcr_security_v1_requests, |
+ 0, NULL, |
+}; |
+ |
+static const struct wl_message zwp_secure_output_v1_requests[] = { |
+ { "destroy", "", types + 0 }, |
+ { "get_security", "no", types + 2 }, |
+}; |
+ |
WL_EXPORT const struct wl_interface zwp_secure_output_v1_interface = { |
"zwp_secure_output_v1", 1, |
2, zwp_secure_output_v1_requests, |