[clutter/clutter-1.22] tests: Remove calls to clutter_x11_enable_xinput()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/clutter-1.22] tests: Remove calls to clutter_x11_enable_xinput()
- Date: Fri, 24 Apr 2015 11:48:57 +0000 (UTC)
commit 5eeaa5460072a5d1f437aa62c93387f5ed12156c
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Apr 23 20:18:25 2015 +0100
tests: Remove calls to clutter_x11_enable_xinput()
The function is deprecated and useless: support for XInput is always
enabled, if the extension is available.
tests/interactive/test-devices.c | 5 -----
tests/interactive/test-events.c | 4 ----
tests/interactive/test-rotate-zoom.c | 4 ----
tests/interactive/test-touch-events.c | 4 ----
4 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/tests/interactive/test-devices.c b/tests/interactive/test-devices.c
index d2c88f4..f0dd9fa 100644
--- a/tests/interactive/test-devices.c
+++ b/tests/interactive/test-devices.c
@@ -213,11 +213,6 @@ test_devices_main (int argc, char **argv)
ClutterDeviceManager *manager;
const GSList *stage_devices, *l;
-#ifdef CLUTTER_WINDOWING_X11
- /* force enabling X11 support */
- clutter_x11_enable_xinput ();
-#endif
-
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
return 1;
diff --git a/tests/interactive/test-events.c b/tests/interactive/test-events.c
index de90fb0..09424de 100644
--- a/tests/interactive/test-events.c
+++ b/tests/interactive/test-events.c
@@ -390,10 +390,6 @@ test_events_main (int argc, char *argv[])
{
ClutterActor *stage, *actor, *focus_box, *group;
-#ifdef CLUTTER_WINDOWING_X11
- clutter_x11_enable_xinput ();
-#endif
-
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
return 1;
diff --git a/tests/interactive/test-rotate-zoom.c b/tests/interactive/test-rotate-zoom.c
index 0e9cc0a..2c25d7f 100644
--- a/tests/interactive/test-rotate-zoom.c
+++ b/tests/interactive/test-rotate-zoom.c
@@ -59,10 +59,6 @@ test_rotate_zoom_main (int argc, char *argv[])
ClutterActor *stage, *actor;
gfloat width, height;
-#ifdef CLUTTER_WINDOWING_X11
- clutter_x11_enable_xinput ();
-#endif
-
/* initialize Clutter */
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
return EXIT_FAILURE;
diff --git a/tests/interactive/test-touch-events.c b/tests/interactive/test-touch-events.c
index f815450..184924a 100644
--- a/tests/interactive/test-touch-events.c
+++ b/tests/interactive/test-touch-events.c
@@ -132,10 +132,6 @@ test_touch_events_main (int argc, char *argv[])
ClutterActor *stage, *canvas;
int i;
-#ifdef CLUTTER_WINDOWING_X11
- clutter_x11_enable_xinput ();
-#endif
-
/* initialize Clutter */
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
return EXIT_FAILURE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]