cursor-tracker: Add missing annotation to meta_cursor_tracker_get_pointer

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2362>
This commit is contained in:
Corentin Noël 2022-04-05 12:44:11 +02:00
parent e4c8125c31
commit 50c91bca75

View File

@ -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,