From 7573aae855a5ccd4b97b52a7444ab2eaa375c84e Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 8 Jun 2011 10:16:17 +0200 Subject: [PATCH] display: Add XInput2 variables in private struct --- src/core/display-private.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/core/display-private.h b/src/core/display-private.h index cccc04e0f..edb3a584f 100644 --- a/src/core/display-private.h +++ b/src/core/display-private.h @@ -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)