fix: only suppress keys when an action is on press
Actions which are on releasedon't have anything to suppress, and end up suppressing the next release.
This commit is contained in:
parent
27f048b998
commit
f406bf33ae
1 changed files with 4 additions and 1 deletions
|
|
@ -464,7 +464,10 @@ impl State {
|
|||
) || modifiers_bypass
|
||||
{
|
||||
modifiers_queue.clear();
|
||||
seat.supressed_keys().add(&handle, None);
|
||||
// only suppress if the action is on Press
|
||||
if !modifiers_bypass {
|
||||
seat.supressed_keys().add(&handle, None);
|
||||
}
|
||||
return FilterResult::Intercept(Some((
|
||||
Action::Shortcut(action.clone()),
|
||||
binding.clone(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue