display: Add XInput2 variables in private struct

This commit is contained in:
Carlos Garnacho 2011-06-08 10:16:17 +02:00 committed by Jasper St. Pierre
parent 7d587770f3
commit 8b3ef16460

View File

@ -295,6 +295,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)