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>
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,
};