summaryrefslogtreecommitdiff
path: root/src/keymap.h
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-10-06 21:37:43 +0200
committerRan Benita <ran234@gmail.com>2012-10-06 21:42:42 +0200
commit9984d1d03cd78eb636c75cc2bbd2d240dc1dd72f (patch)
tree33cd57da0503c30b2e3297cb9b026307900695d1 /src/keymap.h
parentfcceeeafa8d648759412497286217206d4dbe586 (diff)
downloadxorg-lib-libxkbcommon-9984d1d03cd78eb636c75cc2bbd2d240dc1dd72f.tar.gz
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>
Diffstat (limited to 'src/keymap.h')
-rw-r--r--src/keymap.h4
1 files changed, 2 insertions, 2 deletions
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;