presentation-time: finish surface addon
Fixes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3554
This commit is contained in:
parent
cef1811547
commit
b28a9afd4b
|
@ -61,6 +61,8 @@ static void presentation_surface_addon_destroy(struct wlr_addon *addon) {
|
||||||
struct wlr_presentation_surface *p_surface =
|
struct wlr_presentation_surface *p_surface =
|
||||||
wl_container_of(addon, p_surface, addon);
|
wl_container_of(addon, p_surface, addon);
|
||||||
|
|
||||||
|
wlr_addon_finish(addon);
|
||||||
|
|
||||||
wlr_presentation_feedback_destroy(p_surface->current.feedback);
|
wlr_presentation_feedback_destroy(p_surface->current.feedback);
|
||||||
wlr_presentation_feedback_destroy(p_surface->pending.feedback);
|
wlr_presentation_feedback_destroy(p_surface->pending.feedback);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue