From ccb153f0242a0f78aadb9bae46d227efb44b78dc Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 24 Aug 2023 19:21:27 +0200 Subject: security-context-v1: add commit event --- include/wlr/types/wlr_security_context_v1.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/wlr/types/wlr_security_context_v1.h b/include/wlr/types/wlr_security_context_v1.h index 3006fdfc..028e9bdd 100644 --- a/include/wlr/types/wlr_security_context_v1.h +++ b/include/wlr/types/wlr_security_context_v1.h @@ -23,6 +23,7 @@ struct wlr_security_context_manager_v1 { struct { struct wl_signal destroy; + struct wl_signal commit; // struct wlr_security_context_v1_commit_event } events; void *data; @@ -40,6 +41,12 @@ struct wlr_security_context_v1_state { char *instance_id; // may be NULL }; +struct wlr_security_context_v1_commit_event { + const struct wlr_security_context_v1_state *state; + // Client which created the security context + struct wl_client *parent_client; +}; + struct wlr_security_context_manager_v1 *wlr_security_context_manager_v1_create( struct wl_display *display); const struct wlr_security_context_v1_state *wlr_security_context_manager_v1_lookup_client( -- cgit v1.2.3