aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/drm.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm/drm.c')
-rw-r--r--backend/drm/drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index a3daf23f..a7ff585e 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -577,7 +577,7 @@ bool drm_connector_commit_state(struct wlr_drm_connector *conn,
return false;
}
}
- if (pending.modeset) {
+ if (pending.modeset && pending.active) {
flags |= DRM_MODE_PAGE_FLIP_EVENT;
}