[mutter/gnome-40] cursor-renderer: Remove meta_cursor_renderer_is_overlay_visible
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gnome-40] cursor-renderer: Remove meta_cursor_renderer_is_overlay_visible
- Date: Tue, 21 Sep 2021 15:17:26 +0000 (UTC)
commit 0861c97d06cdfa065a342ddfa469bf2073867090
Author: Michel Dänzer <mdaenzer redhat com>
Date: Fri Jun 25 18:47:46 2021 +0200
cursor-renderer: Remove meta_cursor_renderer_is_overlay_visible
Not used anymore.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1914>
(cherry picked from commit 3059d3ffc881e8fbe133238a401492313d75ae8a)
src/backends/meta-cursor-renderer.c | 12 ------------
src/backends/meta-cursor-renderer.h | 2 --
2 files changed, 14 deletions(-)
---
diff --git a/src/backends/meta-cursor-renderer.c b/src/backends/meta-cursor-renderer.c
index 3353b17d3d..5ed0fb8fcd 100644
--- a/src/backends/meta-cursor-renderer.c
+++ b/src/backends/meta-cursor-renderer.c
@@ -470,18 +470,6 @@ meta_cursor_renderer_get_cursor (MetaCursorRenderer *renderer)
return priv->overlay_cursor;
}
-gboolean
-meta_cursor_renderer_is_overlay_visible (MetaCursorRenderer *renderer)
-{
- MetaCursorRendererPrivate *priv =
- meta_cursor_renderer_get_instance_private (renderer);
-
- if (!priv->stage_overlay)
- return FALSE;
-
- return meta_overlay_is_visible (priv->stage_overlay);
-}
-
ClutterInputDevice *
meta_cursor_renderer_get_input_device (MetaCursorRenderer *renderer)
{
diff --git a/src/backends/meta-cursor-renderer.h b/src/backends/meta-cursor-renderer.h
index f6de01bfbc..89a73aef11 100644
--- a/src/backends/meta-cursor-renderer.h
+++ b/src/backends/meta-cursor-renderer.h
@@ -66,8 +66,6 @@ void meta_cursor_renderer_force_update (MetaCursorRenderer *renderer);
MetaCursorSprite * meta_cursor_renderer_get_cursor (MetaCursorRenderer *renderer);
-gboolean meta_cursor_renderer_is_overlay_visible (MetaCursorRenderer *renderer);
-
graphene_rect_t meta_cursor_renderer_calculate_rect (MetaCursorRenderer *renderer,
MetaCursorSprite *cursor_sprite);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]