mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
security-context-v1: add commit event
This commit is contained in:
parent
c58deb7a7d
commit
ccb153f024
2 changed files with 15 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue