diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-03-21 15:22:44 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-03-21 15:22:44 +0000 |
| commit | 57a663a0c7a83812cc66226f7de50f3c89fd72bc (patch) | |
| tree | 827a31068637de9585c70b1d64d603259769e38d | |
| parent | doc: benchmark: update "workstation" benchmarks with 1.7.0 results (diff) | |
| parent | input: must have all required modifiers to un-shift a symbol (diff) | |
Merge branch 'match-all-required-modifiers-before-unshifting-symbol'
Closes #407
| -rw-r--r-- | CHANGELOG.md | 5 | ||||
| -rw-r--r-- | input.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 46e3a5b8..266d9b77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,11 @@ ### Deprecated ### Removed ### Fixed + +* Logic that repairs invalid key bindings ended up breaking valid key + bindings instead (https://codeberg.org/dnkl/foot/issues/407). + + ### Security ### Contributors @@ -450,7 +450,7 @@ maybe_repair_key_combo(const struct seat *seat, /* Check if key combo’s modifier set intersects */ for (size_t j = 0; j < mod_mask_count; j++) { - if (!(mod_masks[j] & mods)) + if ((mod_masks[j] & mods) != mod_masks[j]) continue; char combo[64] = {0}; |
