summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-09-04 15:34:27 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-10-22 15:43:41 +1000
commitf5b22ee8ba829aa095df3d091ec0a74e0aa42778 (patch)
tree094fe10307b79e86f02ff10dc3aedd6db1c85b1c
parentd409cc884c53e7f66ee9266c85cdb7c100365c8f (diff)
include: change grabtypes to start at 1
Avoid erroneous detection of an unset grabtype as CORE Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 6159811a1aaf848016dbfa7bde68df097027870c)
-rw-r--r--include/input.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/input.h b/include/input.h
index 7eed60bcf..bff7ffe22 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;