Method

MetaCursorTrackerget_pointer

Declaration [src]

void
meta_cursor_tracker_get_pointer (
  MetaCursorTracker* tracker,
  graphene_point_t* coords,
  ClutterModifierType* mods
)

Description [src]

Get the current pointer position and state.

Parameters

coords

Type: graphene_point_t

The coordinates of the pointer.

The argument will be set by the function.
The data is owned by the caller of the function.
mods

Type: ClutterModifierType

The current ClutterModifierType of the pointer.

The argument will be set by the function.
The instance takes ownership of the data, and is responsible for freeing it.