[mutter] cursor-renderer/native: Rename frame scheduling helper function
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] cursor-renderer/native: Rename frame scheduling helper function
- Date: Fri, 15 Jun 2018 19:13:01 +0000 (UTC)
commit b596cf97ee9198356555b523f8d8b7fefa3b5640
Author: Jonas Ådahl <jadahl gmail com>
Date: Wed May 2 16:43:30 2018 +0200
cursor-renderer/native: Rename frame scheduling helper function
The function conditionally schedules a cursor animation frame, so
rename it to make that clearer.
https://gitlab.gnome.org/GNOME/mutter/issues/77
src/backends/native/meta-cursor-renderer-native.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/backends/native/meta-cursor-renderer-native.c
b/src/backends/native/meta-cursor-renderer-native.c
index 156d83d15..310200bc4 100644
--- a/src/backends/native/meta-cursor-renderer-native.c
+++ b/src/backends/native/meta-cursor-renderer-native.c
@@ -630,8 +630,8 @@ meta_cursor_renderer_native_update_animation (MetaCursorRendererNative *native)
}
static void
-meta_cursor_renderer_native_trigger_frame (MetaCursorRendererNative *native,
- MetaCursorSprite *cursor_sprite)
+maybe_schedule_cursor_sprite_animation_frame (MetaCursorRendererNative *native,
+ MetaCursorSprite *cursor_sprite)
{
MetaCursorRendererNativePrivate *priv =
meta_cursor_renderer_native_get_instance_private (native);
@@ -677,7 +677,7 @@ meta_cursor_renderer_native_update_cursor (MetaCursorRenderer *renderer,
if (cursor_sprite)
meta_cursor_sprite_realize_texture (cursor_sprite);
- meta_cursor_renderer_native_trigger_frame (native, cursor_sprite);
+ maybe_schedule_cursor_sprite_animation_frame (native, cursor_sprite);
priv->has_hw_cursor = should_have_hw_cursor (renderer, cursor_sprite);
update_hw_cursor (native, cursor_sprite);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]