From f406bf33ae61867304a892410758bff5132250bc Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Mon, 22 Jul 2024 19:09:28 -0400 Subject: [PATCH] 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. --- src/input/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/input/mod.rs b/src/input/mod.rs index f1121a48..306dff50 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -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(),