aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/drm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index a85373ad..04994c68 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -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;