From dd3c63f5e6b411ed59efeb55f88f67cc6242a70a Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Thu, 31 Jul 2025 06:46:47 -0700 Subject: [PATCH] color-representation-v1: Fix missing destroy signal init Fixes #4001 Reported-by: CreeperFace / @dy-tea Signed-off-by: Christopher Snowhill --- types/wlr_color_representation_v1.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/wlr_color_representation_v1.c b/types/wlr_color_representation_v1.c index dbf2ecd52..ac804c60a 100644 --- a/types/wlr_color_representation_v1.c +++ b/types/wlr_color_representation_v1.c @@ -384,6 +384,8 @@ struct wlr_color_representation_manager_v1 *wlr_color_representation_manager_v1_ goto err_options; } + wl_signal_init(&manager->events.destroy); + manager->display_destroy.notify = handle_display_destroy; wl_display_add_destroy_listener(display, &manager->display_destroy);