From f5b22ee8ba829aa095df3d091ec0a74e0aa42778 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 4 Sep 2013 15:34:27 +1000 Subject: [PATCH] include: change grabtypes to start at 1 Avoid erroneous detection of an unset grabtype as CORE Signed-off-by: Peter Hutterer (cherry picked from commit 6159811a1aaf848016dbfa7bde68df097027870c) --- include/input.h | 6 +++--- 1 file 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;