[XInput] Get XInput working again.

Check for distros shipping out of sync header vs libXi,
call in g_type_init() in test-devices, fix ifdef so
XInput events get correctly selected.
This commit is contained in:
Matthew Allum
2009-06-17 15:09:16 +01:00
parent 3035092edb
commit 1aa8c89f2c
3 changed files with 13 additions and 4 deletions

View File

@ -33,6 +33,8 @@ test_devices_main (int argc, char **argv)
TestDevicesApp *app = NULL;
ClutterColor stage_color = { 0x61, 0x64, 0x8c, 0xff };
g_type_init();
clutter_x11_enable_xinput ();
clutter_init (&argc, &argv);