From 4ba84582550ed582afeea16369be9401da8122d7 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Thu, 14 Apr 2022 09:26:54 +0300 Subject: scene/output-layout: fix scene destroy handler --- types/scene/output_layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/scene/output_layout.c b/types/scene/output_layout.c index 33dac130..b80759ff 100644 --- a/types/scene/output_layout.c +++ b/types/scene/output_layout.c @@ -99,7 +99,7 @@ bool wlr_scene_attach_output_layout(struct wlr_scene *scene, wl_signal_add(&output_layout->events.add, &sol->layout_add); sol->scene_destroy.notify = scene_output_layout_handle_scene_destroy; - wl_signal_add(&output_layout->events.destroy, &sol->scene_destroy); + wl_signal_add(&scene->node.events.destroy, &sol->scene_destroy); return true; } -- cgit v1.2.3