From 3b74b5f558fa6f471df9fef16b0f9e3262fbb5ba Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sat, 16 Oct 2021 14:41:28 +0200 Subject: [PATCH] fix(engine): remove Alt from skipped modifiers on Windows, related to #725 --- espanso-engine/src/process/middleware/matcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/espanso-engine/src/process/middleware/matcher.rs b/espanso-engine/src/process/middleware/matcher.rs index 87d97ea..92f49ea 100644 --- a/espanso-engine/src/process/middleware/matcher.rs +++ b/espanso-engine/src/process/middleware/matcher.rs @@ -246,7 +246,7 @@ fn should_skip_key_event_due_to_modifier_press(modifier_state: &ModifierState) - if cfg!(target_os = "macos") { modifier_state.is_meta_down } else if cfg!(target_os = "windows") { - modifier_state.is_alt_down + false } else if cfg!(target_os = "linux") { modifier_state.is_alt_down || modifier_state.is_meta_down } else {