diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-11-16 06:54:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-16 06:54:49 -0500 |
commit | 900d9dc05e83dda18086b4cb2f6bcce06ed7b387 (patch) | |
tree | 0f7b541296b28c3ebf14a678483bc8f19296bd24 /rootston/keyboard.c | |
parent | 57a355a6a778c1b23de8728f407b10cc2e481758 (diff) | |
parent | bb79ada49f43be5417bdd55fda3a7cf07c2a69df (diff) |
Merge pull request #422 from emersion/scan-build-fixes
Fix a bunch of mistakes detected with scan-build
Diffstat (limited to 'rootston/keyboard.c')
-rw-r--r-- | rootston/keyboard.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rootston/keyboard.c b/rootston/keyboard.c index c118e55c..fb648ae5 100644 --- a/rootston/keyboard.c +++ b/rootston/keyboard.c @@ -141,6 +141,7 @@ static bool keyboard_keysyms_xkb(struct roots_keyboard *keyboard, uint32_t consumed = xkb_state_key_get_consumed_mods2( keyboard->device->keyboard->xkb_state, keycode, XKB_CONSUMED_MODE_XKB); + // TODO: actually use this value modifiers = modifiers & ~consumed; bool handled = false; |