mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
Merge branch 'match-all-required-modifiers-before-unshifting-symbol'
Closes #407
This commit is contained in:
commit
57a663a0c7
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
2
input.c
2
input.c
|
|
@ -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};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue