Commit 806d24b1a511494dccec7ae8a58edbc87dd5f6e1

Ran Benita 2013-07-23T11:36:01

keymap: move RANGE_WRAP to be the first in the enum This is the reasonable "zero-default" for this enum. Signed-off-by: Ran Benita <ran234@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/keymap.h b/src/keymap.h
index 8291fa0..2b54139 100644
--- a/src/keymap.h
+++ b/src/keymap.h
@@ -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,
 };