aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2022-04-14 09:26:54 +0300
committerSimon Ser <contact@emersion.fr>2022-04-14 06:51:39 +0000
commit4ba84582550ed582afeea16369be9401da8122d7 (patch)
tree7b850cdcda21b03ca298a9a369839c132307a262
parentdec2565f2b6b0a723d08f025967ac8ff1b7ee756 (diff)
scene/output-layout: fix scene destroy handler
-rw-r--r--types/scene/output_layout.c2
1 files changed, 1 insertions, 1 deletions
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;
}