[mutter/tintou/annotation-additions: 1/3] cursor-tracker: Add missing annotation to meta_cursor_tracker_get_pointer




commit f31aca8aa49b2670b50b287010ee7569726fe5d2
Author: Corentin Noël <corentin noel collabora com>
Date:   Tue Apr 5 12:44:11 2022 +0200

    cursor-tracker: Add missing annotation to meta_cursor_tracker_get_pointer

 src/backends/meta-cursor-tracker.c | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/src/backends/meta-cursor-tracker.c b/src/backends/meta-cursor-tracker.c
index d6dd7e0f78..fba66c0974 100644
--- a/src/backends/meta-cursor-tracker.c
+++ b/src/backends/meta-cursor-tracker.c
@@ -454,6 +454,14 @@ meta_cursor_tracker_invalidate_position (MetaCursorTracker *tracker)
   g_signal_emit (tracker, signals[POSITION_INVALIDATED], 0);
 }
 
+/**
+ * meta_cursor_tracker_get_pointer:
+ * @tracker: a #MetaCursorTracker object
+ * @coords: (out caller-allocates): the coordinates of the pointer
+ * @mods: (out): the current #ClutterModifierType of the pointer
+ *
+ * Get the current pointer position and state.
+ */
 void
 meta_cursor_tracker_get_pointer (MetaCursorTracker   *tracker,
                                  graphene_point_t    *coords,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]