Commit 9984d1d03cd78eb636c75cc2bbd2d240dc1dd72f

Ran Benita 2012-10-06T21:37:43

keymap: use xkb_mod_mask_t for interpret->mods and modmap These are both real modifier masks, but we keep this information only in the program logic now so when we change it we don't have to worry about the type. Signed-off-by: Ran Benita <ran234@gmail.com>

diff --git a/src/keymap.h b/src/keymap.h
index 9734343..9ce61e4 100644
--- a/src/keymap.h
+++ b/src/keymap.h
@@ -279,7 +279,7 @@ struct xkb_sym_interpret {
     xkb_keysym_t sym;
     bool repeat;
     enum xkb_match_operation match;
-    uint8_t mods;
+    xkb_mod_mask_t mods;
     xkb_mod_index_t virtual_mod;
     union xkb_action act;
 };
@@ -350,7 +350,7 @@ struct xkb_key {
 
     enum xkb_explicit_components explicit;
 
-    unsigned char modmap;
+    xkb_mod_mask_t modmap;
     xkb_mod_mask_t vmodmap;
 
     bool repeats;