aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_security_context_v1.h7
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(