clutter: Specify that input-only grabs are started inactive in API

Add the _inactive suffix, so that the state of these objects is clear.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3747>
This commit is contained in:
Carlos Garnacho
2024-06-17 16:15:07 +02:00
parent 8e5f3a1f83
commit 01444e803f
4 changed files with 15 additions and 15 deletions

View File

@ -136,10 +136,10 @@ void clutter_stage_add_to_redraw_clip (ClutterStage *self,
ClutterPaintVolume *clip);
CLUTTER_EXPORT
ClutterGrab * clutter_stage_grab_input_only (ClutterStage *self,
ClutterEventHandler handler,
gpointer user_data,
GDestroyNotify user_data_destroy);
ClutterGrab * clutter_stage_grab_input_only_inactive (ClutterStage *self,
ClutterEventHandler handler,
gpointer user_data,
GDestroyNotify user_data_destroy);
void clutter_stage_invalidate_devices (ClutterStage *stage);

View File

@ -3959,10 +3959,10 @@ clutter_stage_grab_inactive (ClutterStage *stage,
}
ClutterGrab *
clutter_stage_grab_input_only (ClutterStage *stage,
ClutterEventHandler handler,
gpointer user_data,
GDestroyNotify user_data_destroy)
clutter_stage_grab_input_only_inactive (ClutterStage *stage,
ClutterEventHandler handler,
gpointer user_data,
GDestroyNotify user_data_destroy)
{
ClutterInputOnlyActor *input_only_actor;
ClutterActor *actor;