fix(engine): fix bad handling of Iso Level3 Shift on Spanish layouts. Fix #802
This commit is contained in:
parent
cd89915525
commit
4204bcf5ea
|
@ -191,7 +191,7 @@ fn is_event_of_interest(event_type: &EventType) -> bool {
|
||||||
// In hex, they have the byte 3 = 0xfe
|
// In hex, they have the byte 3 = 0xfe
|
||||||
// See list in "keysymdef.h" file
|
// See list in "keysymdef.h" file
|
||||||
if cfg!(target_os = "linux") {
|
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) {
|
if (65025..=65276).contains(raw_code) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user