From 206634e0ede3419ed4a3fa2e077930461042b346 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 9 May 2018 17:59:32 +0200 Subject: [PATCH] cursor-renderer: Rename update_cursor function Call it meta_cursor_renderer_update_cursor. This avoids confusing it with the update_cursor MetaCursorRendererClass vfunc when navigating the file. https://gitlab.gnome.org/GNOME/mutter/issues/77 --- src/backends/meta-cursor-renderer.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/backends/meta-cursor-renderer.c b/src/backends/meta-cursor-renderer.c index ae398730f..eb79737f1 100644 --- a/src/backends/meta-cursor-renderer.c +++ b/src/backends/meta-cursor-renderer.c @@ -193,8 +193,8 @@ meta_cursor_renderer_calculate_rect (MetaCursorRenderer *renderer, } static void -update_cursor (MetaCursorRenderer *renderer, - MetaCursorSprite *cursor_sprite) +meta_cursor_renderer_update_cursor (MetaCursorRenderer *renderer, + MetaCursorSprite *cursor_sprite) { MetaCursorRendererPrivate *priv = meta_cursor_renderer_get_instance_private (renderer); gboolean handled_by_backend; @@ -237,7 +237,7 @@ meta_cursor_renderer_set_cursor (MetaCursorRenderer *renderer, return; priv->displayed_cursor = cursor_sprite; - update_cursor (renderer, cursor_sprite); + meta_cursor_renderer_update_cursor (renderer, cursor_sprite); } void @@ -246,7 +246,7 @@ meta_cursor_renderer_force_update (MetaCursorRenderer *renderer) MetaCursorRendererPrivate *priv = meta_cursor_renderer_get_instance_private (renderer); - update_cursor (renderer, priv->displayed_cursor); + meta_cursor_renderer_update_cursor (renderer, priv->displayed_cursor); } void @@ -261,7 +261,7 @@ meta_cursor_renderer_set_position (MetaCursorRenderer *renderer, priv->current_x = x; priv->current_y = y; - update_cursor (renderer, priv->displayed_cursor); + meta_cursor_renderer_update_cursor (renderer, priv->displayed_cursor); } ClutterPoint