mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-26 06:59:52 -05:00
scene/output-layout: fix scene destroy handler
This commit is contained in:
parent
dec2565f2b
commit
4ba8458255
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue