diff options
author | Simon Ser <contact@emersion.fr> | 2023-08-24 19:21:27 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-10-10 10:34:01 +0200 |
commit | ccb153f0242a0f78aadb9bae46d227efb44b78dc (patch) | |
tree | 121cfb9437dc3348b3a8196030fd6c22d66c3535 /include | |
parent | c58deb7a7d82298c76bd045113be5f33d58c45ec (diff) |
security-context-v1: add commit event
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_security_context_v1.h | 7 |
1 files changed, 7 insertions, 0 deletions
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( |