display: Add XInput2 variables in private struct

This commit is contained in:
Carlos Garnacho 2011-06-08 10:16:17 +02:00
parent f5aab9398b
commit 5338134b49

View File

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