display: Add XInput2 variables in private struct

This commit is contained in:
Carlos Garnacho 2011-06-08 10:16:17 +02:00
parent 684d40d1a1
commit 7573aae855

View File

@ -289,6 +289,12 @@ struct _MetaDisplay
int shape_event_base;
int shape_error_base;
#endif
#ifdef HAVE_XINPUT2
int xinput2_opcode;
unsigned int have_xinput2 : 1;
#endif
#ifdef HAVE_XSYNC
unsigned int have_xsync : 1;
#define META_DISPLAY_HAS_XSYNC(display) ((display)->have_xsync)