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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 54b225a0..1218fa9d 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -466,8 +466,7 @@ static bool drm_connector_test(struct wlr_output *output) {
}
}
- if ((output->pending.committed & WLR_OUTPUT_STATE_BUFFER) &&
- output->pending.buffer_type == WLR_OUTPUT_STATE_BUFFER_SCANOUT) {
+ if ((output->pending.committed & WLR_OUTPUT_STATE_BUFFER) && !conn->backend->parent) {
if (!drm_connector_set_pending_fb(conn, &output->pending)) {
return false;
}