diff options
author | Kirill Primak <vyivel@eclair.cafe> | 2023-06-02 23:16:11 +0300 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2023-06-02 23:20:05 +0300 |
commit | e75407fd4d9b1cdf95caae3fd8f7c04c751c79a5 (patch) | |
tree | 5a728d65826ef295849283a2efabbc7b22b2b4f4 | |
parent | 17230d33c1af342bd93fc697becb7d8dcf778c61 (diff) |
session-lock: remove unused wlr_session_lock_surface_v1.events.map
-rw-r--r-- | include/wlr/types/wlr_session_lock_v1.h | 1 | ||||
-rw-r--r-- | types/wlr_session_lock_v1.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/include/wlr/types/wlr_session_lock_v1.h b/include/wlr/types/wlr_session_lock_v1.h index f408f4f2..a955686d 100644 --- a/include/wlr/types/wlr_session_lock_v1.h +++ b/include/wlr/types/wlr_session_lock_v1.h @@ -73,7 +73,6 @@ struct wlr_session_lock_surface_v1 { struct wlr_session_lock_surface_v1_state pending; struct { - struct wl_signal map; struct wl_signal destroy; } events; diff --git a/types/wlr_session_lock_v1.c b/types/wlr_session_lock_v1.c index 02a9a729..431202d6 100644 --- a/types/wlr_session_lock_v1.c +++ b/types/wlr_session_lock_v1.c @@ -180,7 +180,6 @@ static void lock_surface_role_destroy(struct wlr_surface *surface) { free(configure); } - assert(wl_list_empty(&lock_surface->events.map.listener_list)); assert(wl_list_empty(&lock_surface->events.destroy.listener_list)); wl_list_remove(&lock_surface->output_destroy.link); @@ -286,7 +285,6 @@ static void lock_handle_get_lock_surface(struct wl_client *client, wl_list_init(&lock_surface->configure_list); - wl_signal_init(&lock_surface->events.map); wl_signal_init(&lock_surface->events.destroy); wl_signal_add(&output->events.destroy, &lock_surface->output_destroy); |