aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/atomic.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm/atomic.c')
-rw-r--r--backend/drm/atomic.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/drm/atomic.c b/backend/drm/atomic.c
index 1d4f9df4..82ead96e 100644
--- a/backend/drm/atomic.c
+++ b/backend/drm/atomic.c
@@ -280,6 +280,10 @@ static bool atomic_crtc_commit(struct wlr_drm_connector *conn,
atomic_add(&atom, conn->id, conn->props.link_status,
DRM_MODE_LINK_STATUS_GOOD);
}
+ if (active && conn->props.content_type != 0) {
+ atomic_add(&atom, conn->id, conn->props.content_type,
+ DRM_MODE_CONTENT_TYPE_GRAPHICS);
+ }
atomic_add(&atom, crtc->id, crtc->props.mode_id, mode_id);
atomic_add(&atom, crtc->id, crtc->props.active, active);
if (active) {