[mutter/wip/xinput2r: 5/68] display: Add XInput2 variables in private struct



commit f89a8a84defbebf3bfbcd4caa9789927c8012dd6
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Jun 8 10:16:17 2011 +0200

    display: Add XInput2 variables in private struct

 src/core/display-private.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/core/display-private.h b/src/core/display-private.h
index b03fffd..078afcb 100644
--- a/src/core/display-private.h
+++ b/src/core/display-private.h
@@ -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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]