scene/output-layout: fix scene destroy handler

This commit is contained in:
Kirill Primak 2022-04-14 09:26:54 +03:00 committed by Simon Ser
parent dec2565f2b
commit 4ba8458255

View file

@ -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;
}