mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 11:55:59 +01:00
presentation-time: finish surface addon
Fixes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3554
This commit is contained in:
parent
cef1811547
commit
b28a9afd4b
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue