mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-09 08:21:01 -04: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
|
### Deprecated
|
||||||
### Removed
|
### Removed
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
* Logic that repairs invalid key bindings ended up breaking valid key
|
||||||
|
bindings instead (https://codeberg.org/dnkl/foot/issues/407).
|
||||||
|
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
### Contributors
|
### 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 */
|
/* Check if key combo’s modifier set intersects */
|
||||||
for (size_t j = 0; j < mod_mask_count; j++) {
|
for (size_t j = 0; j < mod_mask_count; j++) {
|
||||||
if (!(mod_masks[j] & mods))
|
if ((mod_masks[j] & mods) != mod_masks[j])
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
char combo[64] = {0};
|
char combo[64] = {0};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue