[PATCH 03/21] include: Add an InputLevel enum
Peter Hutterer
peter.hutterer at who-t.net
Thu Dec 8 19:36:04 PST 2011
From: Chase Douglas <chase.douglas at canonical.com>
Currently unused, but will be in the future.
Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
include/eventconvert.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/eventconvert.h b/include/eventconvert.h
index 571a511..bb45eef 100644
--- a/include/eventconvert.h
+++ b/include/eventconvert.h
@@ -31,6 +31,12 @@
#define FP1616(integral, frac) ((integral) * (1 << 16) + (frac) * (1 << 16))
+enum InputLevel {
+ CORE,
+ XI,
+ XI2,
+};
+
_X_EXPORT int EventToCore(InternalEvent *event, xEvent **core, int *count);
_X_EXPORT int EventToXI(InternalEvent *ev, xEvent **xi, int *count);
_X_EXPORT int EventToXI2(InternalEvent *ev, xEvent **xi);
--
1.7.7.1
More information about the xorg-devel
mailing list