tests/clutter: Add hold event to existing test
Add CLUTTER_TOUCHPAD_HOLD to existing interactive tests. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1830>
This commit is contained in:
parent
af1f3304e4
commit
dca9d57eea
@ -342,6 +342,9 @@ input_cb (ClutterActor *actor,
|
||||
case CLUTTER_TOUCHPAD_SWIPE:
|
||||
g_print ("[%s] TOUCHPAD SWIPE", clutter_actor_get_name (source_actor));
|
||||
break;
|
||||
case CLUTTER_TOUCHPAD_HOLD:
|
||||
g_print ("[%s] TOUCHPAD HOLD", clutter_actor_get_name (source_actor));
|
||||
break;
|
||||
case CLUTTER_PROXIMITY_IN:
|
||||
g_print ("[%s] PROXIMITY IN", clutter_actor_get_name (source_actor));
|
||||
break;
|
||||
|
@ -67,6 +67,9 @@ debug_event_cb (ClutterActor *actor,
|
||||
case CLUTTER_TOUCHPAD_SWIPE:
|
||||
g_print ("[%s] TOUCHPAD SWIPE", source);
|
||||
break;
|
||||
case CLUTTER_TOUCHPAD_HOLD:
|
||||
g_print ("[%s] TOUCHPAD HOLD", source);
|
||||
break;
|
||||
case CLUTTER_PROXIMITY_IN:
|
||||
g_print ("[%s] PROXIMITY IN", source);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user