diff options
author | Denis Savran <denis.savran@outlook.com> | 2022-04-18 12:12:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-18 02:12:25 -0700 |
commit | b1ceb4bb6abe01e98b9ae0a36b7b87cdb383884a (patch) | |
tree | 93bd01e13d8dbc56b4c26843ac05fa54e9e076a2 /users/vitoni/utils.c | |
parent | 5fc8f8488f0f19ce519c4c5e0639ccc06873f786 (diff) |
Fix one-shot locked modifiers (#16114)
* Fix state updates of one-shot locked modifiers
Activating additional one-shot locked modifiers removed previously enabled locked modifiers from the state.
`get_oneshot_locked_mods` returned zero when two or more one-shot locked modifiers were enabled and then one was disabled.
* Do not delete one-shot locked modifiers on a one-shot layer toggle
Non-locked one-shot modifiers are not removed so this behavior adds inconsistency.
Also the one-shot locked modifiers state was reset without unregistering any modifiers.
Diffstat (limited to 'users/vitoni/utils.c')
0 files changed, 0 insertions, 0 deletions