From 0eaf4b4f4ce059bbbe5902cf3807457bfca3f423 Mon Sep 17 00:00:00 2001 From: Dor Askayo Date: Fri, 26 Jan 2024 19:06:33 +0000 Subject: [PATCH] Revert "frame/native: Remember whether the frame carried a kms update" This reverts commit 020d128d151dc4303f1db95926d239e1e5a5d46e. This API is no longer used and can be removed. Part-of: --- src/backends/native/meta-frame-native.c | 8 -------- src/backends/native/meta-frame-native.h | 3 --- 2 files changed, 11 deletions(-) diff --git a/src/backends/native/meta-frame-native.c b/src/backends/native/meta-frame-native.c index 2701a9316..146144db0 100644 --- a/src/backends/native/meta-frame-native.c +++ b/src/backends/native/meta-frame-native.c @@ -28,7 +28,6 @@ struct _MetaFrameNative ClutterFrame base; MetaKmsUpdate *kms_update; - gboolean had_kms_update; }; static void @@ -63,7 +62,6 @@ meta_frame_native_ensure_kms_update (MetaFrameNative *frame_native, } frame_native->kms_update = meta_kms_update_new (kms_device); - frame_native->had_kms_update = TRUE; return frame_native->kms_update; } @@ -78,9 +76,3 @@ meta_frame_native_has_kms_update (MetaFrameNative *frame_native) { return !!frame_native->kms_update; } - -gboolean -meta_frame_native_had_kms_update (MetaFrameNative *frame_native) -{ - return frame_native->had_kms_update; -} diff --git a/src/backends/native/meta-frame-native.h b/src/backends/native/meta-frame-native.h index abfb17145..f86d3b0b0 100644 --- a/src/backends/native/meta-frame-native.h +++ b/src/backends/native/meta-frame-native.h @@ -36,6 +36,3 @@ MetaKmsUpdate * meta_frame_native_steal_kms_update (MetaFrameNative *frame_nativ META_EXPORT_TEST gboolean meta_frame_native_has_kms_update (MetaFrameNative *frame_native); - -META_EXPORT_TEST -gboolean meta_frame_native_had_kms_update (MetaFrameNative *frame_native);