1
0
Fork 0

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:
JoseExposito 2021-04-18 19:14:05 +02:00 committed by Marge Bot
parent af1f3304e4
commit dca9d57eea
2 changed files with 6 additions and 0 deletions

View file

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

View file

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