From b06d58fa8b6bb5d9a154f795ec595477e13998bc Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Fri, 17 Nov 2023 14:34:32 -0500 Subject: backend/drm: Destroy page flips on backend destroy When we destroy the backend, page flips will no longer be invoked meaning those won't clean up the page flips for us. --- include/backend/drm/drm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/backend/drm') diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index eef778df..4718eee0 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -193,6 +193,7 @@ bool drm_connector_supports_vrr(struct wlr_drm_connector *conn); size_t drm_crtc_get_gamma_lut_size(struct wlr_drm_backend *drm, struct wlr_drm_crtc *crtc); void drm_lease_destroy(struct wlr_drm_lease *lease); +void drm_page_flip_destroy(struct wlr_drm_page_flip *page_flip); struct wlr_drm_fb *get_next_cursor_fb(struct wlr_drm_connector *conn); struct wlr_drm_layer *get_drm_layer(struct wlr_drm_backend *drm, -- cgit v1.2.3