[PATCH 2/4] include: change grabtypes to start at 1
Peter Hutterer
peter.hutterer at who-t.net
Tue Sep 3 22:34:27 PDT 2013
Avoid erroneous detection of an unset grabtype as CORE
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
include/input.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/input.h b/include/input.h
index 1745e9a..350daba 100644
--- a/include/input.h
+++ b/include/input.h
@@ -113,9 +113,9 @@ SOFTWARE.
#endif
enum InputLevel {
- CORE,
- XI,
- XI2,
+ CORE = 1,
+ XI = 2,
+ XI2 = 3,
};
typedef unsigned long Leds;
--
1.8.3.1
More information about the xorg-devel
mailing list