cursor-renderer: Remove meta_cursor_renderer_is_overlay_visible

Not used anymore.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1914>
This commit is contained in:
Michel Dänzer 2021-06-25 18:47:46 +02:00 committed by Marge Bot
parent 62cdf8de5e
commit 3059d3ffc8
2 changed files with 0 additions and 14 deletions

View File

@ -470,18 +470,6 @@ meta_cursor_renderer_get_cursor (MetaCursorRenderer *renderer)
return priv->overlay_cursor; 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 * ClutterInputDevice *
meta_cursor_renderer_get_input_device (MetaCursorRenderer *renderer) meta_cursor_renderer_get_input_device (MetaCursorRenderer *renderer)
{ {

View File

@ -66,8 +66,6 @@ void meta_cursor_renderer_force_update (MetaCursorRenderer *renderer);
MetaCursorSprite * meta_cursor_renderer_get_cursor (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, graphene_rect_t meta_cursor_renderer_calculate_rect (MetaCursorRenderer *renderer,
MetaCursorSprite *cursor_sprite); MetaCursorSprite *cursor_sprite);