mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
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.
This commit is contained in:
parent
fc93887728
commit
f8687f9430
@ -213,11 +213,6 @@ test_devices_main (int argc, char **argv)
|
|||||||
ClutterDeviceManager *manager;
|
ClutterDeviceManager *manager;
|
||||||
const GSList *stage_devices, *l;
|
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)
|
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
@ -390,10 +390,6 @@ test_events_main (int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
ClutterActor *stage, *actor, *focus_box, *group;
|
ClutterActor *stage, *actor, *focus_box, *group;
|
||||||
|
|
||||||
#ifdef CLUTTER_WINDOWING_X11
|
|
||||||
clutter_x11_enable_xinput ();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
|
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
@ -59,10 +59,6 @@ test_rotate_zoom_main (int argc, char *argv[])
|
|||||||
ClutterActor *stage, *actor;
|
ClutterActor *stage, *actor;
|
||||||
gfloat width, height;
|
gfloat width, height;
|
||||||
|
|
||||||
#ifdef CLUTTER_WINDOWING_X11
|
|
||||||
clutter_x11_enable_xinput ();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* initialize Clutter */
|
/* initialize Clutter */
|
||||||
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
|
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
@ -132,10 +132,6 @@ test_touch_events_main (int argc, char *argv[])
|
|||||||
ClutterActor *stage, *canvas;
|
ClutterActor *stage, *canvas;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
#ifdef CLUTTER_WINDOWING_X11
|
|
||||||
clutter_x11_enable_xinput ();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* initialize Clutter */
|
/* initialize Clutter */
|
||||||
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
|
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
Loading…
Reference in New Issue
Block a user