aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}