diff --git a/src/backends/native/meta-kms-impl.c b/src/backends/native/meta-kms-impl.c index 2254ef4c5..99019ca85 100644 --- a/src/backends/native/meta-kms-impl.c +++ b/src/backends/native/meta-kms-impl.c @@ -84,6 +84,20 @@ meta_kms_impl_discard_pending_page_flips (MetaKmsImpl *impl) NULL); } +void +meta_kms_impl_resume (MetaKmsImpl *impl) +{ + MetaKmsImplPrivate *priv = meta_kms_impl_get_instance_private (impl); + GList *l; + + for (l = priv->impl_devices; l; l = l->next) + { + MetaKmsImplDevice *impl_device = l->data; + + meta_kms_impl_device_resume (impl_device); + } +} + void meta_kms_impl_prepare_shutdown (MetaKmsImpl *impl) { diff --git a/src/backends/native/meta-kms-impl.h b/src/backends/native/meta-kms-impl.h index b2e3de506..f8379fab2 100644 --- a/src/backends/native/meta-kms-impl.h +++ b/src/backends/native/meta-kms-impl.h @@ -45,6 +45,8 @@ void meta_kms_impl_remove_impl_device (MetaKmsImpl *impl, void meta_kms_impl_discard_pending_page_flips (MetaKmsImpl *impl); +void meta_kms_impl_resume (MetaKmsImpl *impl); + void meta_kms_impl_prepare_shutdown (MetaKmsImpl *impl); void meta_kms_impl_notify_modes_set (MetaKmsImpl *impl);