aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/drm/atomic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/atomic.c b/backend/drm/atomic.c
index 75c79525..310138f0 100644
--- a/backend/drm/atomic.c
+++ b/backend/drm/atomic.c
@@ -202,7 +202,7 @@ static bool atomic_crtc_commit(struct wlr_drm_backend *drm,
if (crtc->pending_modeset) {
flags |= DRM_MODE_ATOMIC_ALLOW_MODESET;
- } else {
+ } else if (!(flags & DRM_MODE_ATOMIC_TEST_ONLY)) {
flags |= DRM_MODE_ATOMIC_NONBLOCK;
}