mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-05 13:05:59 +01: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…
Reference in a new issue