[mutter/wip/xinput2: 2/49] display: Add XInput2 variables in private struct



commit 7573aae855a5ccd4b97b52a7444ab2eaa375c84e
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 cccc04e..edb3a58 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)



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