security-context-v1: add commit event

This commit is contained in:
Simon Ser 2023-08-24 19:21:27 +02:00
parent c58deb7a7d
commit ccb153f024
2 changed files with 15 additions and 0 deletions

View file

@ -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(