keymap: move RANGE_WRAP to be the first in the enum
authorRan Benita <ran234@gmail.com>
Tue, 23 Jul 2013 08:36:01 +0000 (11:36 +0300)
committerRan Benita <ran234@gmail.com>
Tue, 23 Jul 2013 08:36:01 +0000 (11:36 +0300)
This is the reasonable "zero-default" for this enum.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/keymap.h

index 8291fa0..2b54139 100644 (file)
@@ -313,8 +313,8 @@ struct xkb_controls {
 
 /* Such an awkward name.  Oh well. */
 enum xkb_range_exceed_type {
+    RANGE_WRAP = 0,
     RANGE_SATURATE,
-    RANGE_WRAP,
     RANGE_REDIRECT,
 };