mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
color-representation-v1: Fix missing destroy signal init
Fixes #4001 Reported-by: CreeperFace / @dy-tea Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
c8b7600adc
commit
dd3c63f5e6
1 changed files with 2 additions and 0 deletions
|
|
@ -384,6 +384,8 @@ struct wlr_color_representation_manager_v1 *wlr_color_representation_manager_v1_
|
||||||
goto err_options;
|
goto err_options;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wl_signal_init(&manager->events.destroy);
|
||||||
|
|
||||||
manager->display_destroy.notify = handle_display_destroy;
|
manager->display_destroy.notify = handle_display_destroy;
|
||||||
wl_display_add_destroy_listener(display, &manager->display_destroy);
|
wl_display_add_destroy_listener(display, &manager->display_destroy);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue