From 4204bcf5ea1389a5ae0957aee1554355246231a2 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Fri, 22 Oct 2021 19:58:26 +0200 Subject: [PATCH] fix(engine): fix bad handling of Iso Level3 Shift on Spanish layouts. Fix #802 --- 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 92f49ea..d16276d 100644 --- a/espanso-engine/src/process/middleware/matcher.rs +++ b/espanso-engine/src/process/middleware/matcher.rs @@ -191,7 +191,7 @@ fn is_event_of_interest(event_type: &EventType) -> bool { // In hex, they have the byte 3 = 0xfe // See list in "keysymdef.h" file if cfg!(target_os = "linux") { - if let Key::Other(raw_code) = &keyboard_event.key { + if let (Key::Other(raw_code), None) = (&keyboard_event.key, &keyboard_event.value) { if (65025..=65276).contains(raw_code) { return false; }