diff --git a/src/backends/native/meta-kms-connector-private.h b/src/backends/native/meta-kms-connector-private.h index bb6bb115c..9accf8ccd 100644 --- a/src/backends/native/meta-kms-connector-private.h +++ b/src/backends/native/meta-kms-connector-private.h @@ -24,7 +24,8 @@ typedef enum _MetaKmsConnectorProp { - META_KMS_CONNECTOR_PROP_DPMS = 0, + META_KMS_CONNECTOR_PROP_CRTC_ID = 0, + META_KMS_CONNECTOR_PROP_DPMS, META_KMS_CONNECTOR_PROP_UNDERSCAN, META_KMS_CONNECTOR_PROP_UNDERSCAN_HBORDER, META_KMS_CONNECTOR_PROP_UNDERSCAN_VBORDER, diff --git a/src/backends/native/meta-kms-connector.c b/src/backends/native/meta-kms-connector.c index 950def3f2..86792d938 100644 --- a/src/backends/native/meta-kms-connector.c +++ b/src/backends/native/meta-kms-connector.c @@ -532,6 +532,11 @@ init_properties (MetaKmsConnector *connector, *prop_table = (MetaKmsConnectorPropTable) { .props = { + [META_KMS_CONNECTOR_PROP_CRTC_ID] = + { + .name = "CRTC_ID", + .type = DRM_MODE_PROP_OBJECT, + }, [META_KMS_CONNECTOR_PROP_DPMS] = { .name = "DPMS",