[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

@ -182,7 +182,7 @@ clutter_stage_glx_realize (ClutterActor *actor)
KeyPressMask | KeyReleaseMask |
EnterWindowMask | LeaveWindowMask |
PropertyChangeMask);
#ifdef USE_XINPUT
#ifdef HAVE_XINPUT
_clutter_x11_select_events (stage_x11->xwin);
#endif
}