include: change grabtypes to start at 1
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 4 Sep 2013 05:34:27 +0000 (15:34 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 14 Oct 2013 01:07:37 +0000 (11:07 +1000)
Avoid erroneous detection of an unset grabtype as CORE

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
include/input.h

index 1745e9a..350daba 100644 (file)
@@ -113,9 +113,9 @@ SOFTWARE.
 #endif
 
 enum InputLevel {
-    CORE,
-    XI,
-    XI2,
+    CORE = 1,
+    XI = 2,
+    XI2 = 3,
 };
 
 typedef unsigned long Leds;