[mutter] tests/clutter: Add hold event to existing test
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] tests/clutter: Add hold event to existing test
- Date: Thu, 2 Dec 2021 21:29:01 +0000 (UTC)
commit dca9d57eeab31ae4ff598ffc1c3991aaf5eaa252
Author: JoseExposito <jose exposito89 gmail com>
Date: Sun Apr 18 19:14:05 2021 +0200
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>
src/tests/clutter/interactive/test-events.c | 3 +++
src/tests/clutter/interactive/test-grab.c | 3 +++
2 files changed, 6 insertions(+)
---
diff --git a/src/tests/clutter/interactive/test-events.c b/src/tests/clutter/interactive/test-events.c
index ea7ca8e494..03cae26b66 100644
--- a/src/tests/clutter/interactive/test-events.c
+++ b/src/tests/clutter/interactive/test-events.c
@@ -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;
diff --git a/src/tests/clutter/interactive/test-grab.c b/src/tests/clutter/interactive/test-grab.c
index fc41a34df6..d7f5eb7106 100644
--- a/src/tests/clutter/interactive/test-grab.c
+++ b/src/tests/clutter/interactive/test-grab.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]