diff options
Diffstat (limited to 'backend/drm/drm.c')
-rw-r--r-- | backend/drm/drm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c index dea79d7a..e6b99bee 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -446,7 +446,9 @@ static bool drm_connector_commit(struct wlr_output *output) { } } - if (output->pending.committed & WLR_OUTPUT_STATE_BUFFER) { + // TODO: support modesetting with a buffer + if (output->pending.committed & WLR_OUTPUT_STATE_BUFFER && + !(output->pending.committed & WLR_OUTPUT_STATE_MODE)) { if (!drm_connector_commit_buffer(output)) { return false; } |