From c608fc89d8cb850b9c53c3fa84e7c08ea3c0e30a Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 7 May 2020 19:20:56 +0200 Subject: backend/drm: rename crtc_pageflip to crtc_commit Also add a flags argument. The commit function will also be used for disabling the CRTC. --- backend/drm/drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/drm/drm.c') diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 0d7f3f25..9c397752 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -345,7 +345,7 @@ static bool drm_crtc_page_flip(struct wlr_drm_connector *conn) { return false; } - bool ok = drm->iface->crtc_pageflip(drm, conn); + bool ok = drm->iface->crtc_commit(drm, conn, DRM_MODE_PAGE_FLIP_EVENT); crtc->pending = 0; -- cgit v1.2.3