summaryrefslogtreecommitdiff
path: root/layouts/default
diff options
context:
space:
mode:
authorSergey Vlasov <sigprof@gmail.com>2021-04-25 06:41:37 +0300
committerGitHub <noreply@github.com>2021-04-25 13:41:37 +1000
commitda6e888a32a6d9c09a1506e9ae4a59a36f8a5354 (patch)
tree4ae81e39cc59cafce702f42be50b012a0313fc3e /layouts/default
parentd3bf3d3b1cfa9bd6d60ef605cf767e1fb1957c07 (diff)
Do not leak weak mods from tap dance to the interrupting keypress (#12471)
Tap dance callbacks may register weak mods; one case when it happens is when a tap dance registers a key with modifiers. When the tap dance is interrupted by pressing another key, these weak mods could affect the interrupting key (normally any stale weak mods are cleared at the start of action_exec() when handling a keypress event, but the tap dance interrupt check code is called later, and the weak mods left by that code were not cleared). Add another clear_weak_mods() call to preprocess_tap_dance() to make sure that the interrupting keypress is not affected by unrelated weak mods from the previous tap dance. Fixes #12445.
Diffstat (limited to 'layouts/default')
0 files changed, 0 insertions, 0 deletions