[mutter/wip/carlosg/input-thread: 8/51] backends: Drop meta_cursor_renderer_get_position()
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/input-thread: 8/51] backends: Drop meta_cursor_renderer_get_position()
- Date: Tue, 22 Sep 2020 14:21:58 +0000 (UTC)
commit a66c585b3ecfbe1df8942ad364b2dc889a5c6565
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Jul 13 13:56:56 2020 +0200
backends: Drop meta_cursor_renderer_get_position()
This is now unused.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403
src/backends/meta-cursor-renderer.c | 12 ------------
src/backends/meta-cursor-renderer.h | 1 -
2 files changed, 13 deletions(-)
---
diff --git a/src/backends/meta-cursor-renderer.c b/src/backends/meta-cursor-renderer.c
index 54b01e04e2..1a05f8500c 100644
--- a/src/backends/meta-cursor-renderer.c
+++ b/src/backends/meta-cursor-renderer.c
@@ -456,18 +456,6 @@ meta_cursor_renderer_set_position (MetaCursorRenderer *renderer,
meta_cursor_renderer_update_cursor (renderer, priv->displayed_cursor);
}
-graphene_point_t
-meta_cursor_renderer_get_position (MetaCursorRenderer *renderer)
-{
- MetaCursorRendererPrivate *priv =
- meta_cursor_renderer_get_instance_private (renderer);
-
- return (graphene_point_t) {
- .x = priv->current_x,
- .y = priv->current_y
- };
-}
-
MetaCursorSprite *
meta_cursor_renderer_get_cursor (MetaCursorRenderer *renderer)
{
diff --git a/src/backends/meta-cursor-renderer.h b/src/backends/meta-cursor-renderer.h
index 38621027cb..2156d91253 100644
--- a/src/backends/meta-cursor-renderer.h
+++ b/src/backends/meta-cursor-renderer.h
@@ -63,7 +63,6 @@ void meta_cursor_renderer_set_cursor (MetaCursorRenderer *renderer,
void meta_cursor_renderer_set_position (MetaCursorRenderer *renderer,
float x,
float y);
-graphene_point_t meta_cursor_renderer_get_position (MetaCursorRenderer *renderer);
void meta_cursor_renderer_force_update (MetaCursorRenderer *renderer);
MetaCursorSprite * meta_cursor_renderer_get_cursor (MetaCursorRenderer *renderer);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]