diff --git a/src/backends/native/meta-kms-impl-simple.c b/src/backends/native/meta-kms-impl-simple.c index ede7d6fbf..9d5fcccd9 100644 --- a/src/backends/native/meta-kms-impl-simple.c +++ b/src/backends/native/meta-kms-impl-simple.c @@ -1120,15 +1120,6 @@ meta_kms_impl_simple_discard_pending_page_flips (MetaKmsImpl *impl) g_source_destroy); } -static void -meta_kms_impl_simple_dispatch_idle (MetaKmsImpl *impl) -{ - MetaKmsImplSimple *impl_simple = META_KMS_IMPL_SIMPLE (impl); - - if (impl_simple->mode_set_fallback_feedback_source) - mode_set_fallback_feedback_idle (impl_simple); -} - static void meta_kms_impl_simple_notify_device_created (MetaKmsImpl *impl, MetaKmsDevice *device) @@ -1189,6 +1180,5 @@ meta_kms_impl_simple_class_init (MetaKmsImplSimpleClass *klass) impl_class->process_update = meta_kms_impl_simple_process_update; impl_class->handle_page_flip_callback = meta_kms_impl_simple_handle_page_flip_callback; impl_class->discard_pending_page_flips = meta_kms_impl_simple_discard_pending_page_flips; - impl_class->dispatch_idle = meta_kms_impl_simple_dispatch_idle; impl_class->notify_device_created = meta_kms_impl_simple_notify_device_created; } diff --git a/src/backends/native/meta-kms-impl.c b/src/backends/native/meta-kms-impl.c index 055273d5c..ee9625ec8 100644 --- a/src/backends/native/meta-kms-impl.c +++ b/src/backends/native/meta-kms-impl.c @@ -65,12 +65,6 @@ meta_kms_impl_discard_pending_page_flips (MetaKmsImpl *impl) META_KMS_IMPL_GET_CLASS (impl)->discard_pending_page_flips (impl); } -void -meta_kms_impl_dispatch_idle (MetaKmsImpl *impl) -{ - META_KMS_IMPL_GET_CLASS (impl)->dispatch_idle (impl); -} - void meta_kms_impl_notify_device_created (MetaKmsImpl *impl, MetaKmsDevice *device) diff --git a/src/backends/native/meta-kms-impl.h b/src/backends/native/meta-kms-impl.h index 80ec8a5c2..c22f78219 100644 --- a/src/backends/native/meta-kms-impl.h +++ b/src/backends/native/meta-kms-impl.h @@ -38,7 +38,6 @@ struct _MetaKmsImplClass void (* handle_page_flip_callback) (MetaKmsImpl *impl, MetaKmsPageFlipData *page_flip_data); void (* discard_pending_page_flips) (MetaKmsImpl *impl); - void (* dispatch_idle) (MetaKmsImpl *impl); void (* notify_device_created) (MetaKmsImpl *impl, MetaKmsDevice *impl_device); }; @@ -53,8 +52,6 @@ void meta_kms_impl_handle_page_flip_callback (MetaKmsImpl *impl, void meta_kms_impl_discard_pending_page_flips (MetaKmsImpl *impl); -void meta_kms_impl_dispatch_idle (MetaKmsImpl *impl); - void meta_kms_impl_notify_device_created (MetaKmsImpl *impl, MetaKmsDevice *impl_device);