From 3059d3ffc881e8fbe133238a401492313d75ae8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Fri, 25 Jun 2021 18:47:46 +0200 Subject: [PATCH] cursor-renderer: Remove meta_cursor_renderer_is_overlay_visible Not used anymore. Part-of: --- 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 3353b17d3..5ed0fb8fc 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 f6de01bfb..89a73aef1 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);