input: track meta modifier

This commit is contained in:
Daniel Eklöf 2019-08-15 19:38:28 +02:00
parent c5747fbd7d
commit 9ca01436ee
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 10 additions and 2 deletions

View file

@ -188,11 +188,13 @@ struct kbd {
xkb_mod_index_t mod_shift;
xkb_mod_index_t mod_alt;
xkb_mod_index_t mod_ctrl;
xkb_mod_index_t mod_meta;
/* Enabled modifiers */
bool shift;
bool alt;
bool ctrl;
bool meta;
};
enum cursor_keys { CURSOR_KEYS_DONTCARE, CURSOR_KEYS_NORMAL, CURSOR_KEYS_APPLICATION};