diff --git a/src/backends/native/meta-kms-device.c b/src/backends/native/meta-kms-device.c index f1fe833df..8587c3065 100644 --- a/src/backends/native/meta-kms-device.c +++ b/src/backends/native/meta-kms-device.c @@ -127,7 +127,7 @@ meta_kms_device_get_crtcs (MetaKmsDevice *device) return device->crtcs; } -static GList * +GList * meta_kms_device_get_planes (MetaKmsDevice *device) { return device->planes; diff --git a/src/backends/native/meta-kms-device.h b/src/backends/native/meta-kms-device.h index 0b7c10273..682140ff8 100644 --- a/src/backends/native/meta-kms-device.h +++ b/src/backends/native/meta-kms-device.h @@ -49,6 +49,8 @@ GList * meta_kms_device_get_connectors (MetaKmsDevice *device); GList * meta_kms_device_get_crtcs (MetaKmsDevice *device); +GList * meta_kms_device_get_planes (MetaKmsDevice *device); + MetaKmsPlane * meta_kms_device_get_primary_plane_for (MetaKmsDevice *device, MetaKmsCrtc *crtc);