display: Initialize XInput2

Make sure it's the correct version.

https://bugzilla.gnome.org/show_bug.cgi?id=688779
This commit is contained in:
Jasper St. Pierre
2012-11-15 15:57:08 -05:00
parent dd4e655e2b
commit f0c1e39fb7
2 changed files with 24 additions and 2 deletions

View File

@@ -283,7 +283,10 @@ struct _MetaDisplay
int damage_error_base;
int xfixes_event_base;
int xfixes_error_base;
int xinput_error_base;
int xinput_event_base;
int xinput_opcode;
#ifdef HAVE_STARTUP_NOTIFICATION
SnDisplay *sn_display;
#endif