mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-03 07:15:29 -04:00
input: check for ‘effective’ modifiers, not ‘depressed’
When reading XKB modifier state, use XKB_STATE_MODS_EFFECTIVE, not XKB_STATE_MODS_DEPRESSED. This fixes handling of ‘sticky’ modifier keys.
This commit is contained in:
parent
e789628f82
commit
8e4d020a41
2 changed files with 12 additions and 6 deletions
|
|
@ -38,6 +38,12 @@
|
|||
### Deprecated
|
||||
### Removed
|
||||
### Fixed
|
||||
|
||||
* ‘Sticky’ modifiers in input handling; when determining modifier
|
||||
state, foot was looking at **depressed** modifiers, not
|
||||
**effective** modifiers, like it should.
|
||||
|
||||
|
||||
### Security
|
||||
### Contributors
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue