scene/output-layout: fix scene destroy handler

master
Kirill Primak 3 years ago committed by Simon Ser
parent dec2565f2b
commit 4ba8458255

@ -99,7 +99,7 @@ bool wlr_scene_attach_output_layout(struct wlr_scene *scene,
wl_signal_add(&output_layout->events.add, &sol->layout_add); wl_signal_add(&output_layout->events.add, &sol->layout_add);
sol->scene_destroy.notify = scene_output_layout_handle_scene_destroy; 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; return true;
} }

Loading…
Cancel
Save