backend/drm: request page-flip event on modeset

The old drm_connector_set_mode() function did that by calling
drm_crtc_page_flip(). We lost this in the refactoring.

Fixes: f216e97983 ("backend/drm: drop drm_connector_set_mode()")
Simon Ser 2 years ago
parent a707b7b101
commit 84e727daae

@ -577,6 +577,9 @@ bool drm_connector_commit_state(struct wlr_drm_connector *conn,
return false;
}
}
if (pending.modeset) {
flags |= DRM_MODE_PAGE_FLIP_EVENT;
}
if (!drm_crtc_commit(conn, &pending, flags, false)) {
return false;

Loading…
Cancel
Save