diff --git a/src/ui_session_interface.rs b/src/ui_session_interface.rs index 7143ed97a..92a08ef3d 100644 --- a/src/ui_session_interface.rs +++ b/src/ui_session_interface.rs @@ -827,8 +827,13 @@ impl Session { } } - self.legacy_modifiers(&mut key_event, true, true, false, false); - key_event.press = down; + self.legacy_modifiers(&mut key_event, alt, ctrl, shift, command); + if v == 1 { + key_event.down = true; + } else if v == 3 { + key_event.press = true; + } + self.send_key_event(key_event, KeyboardMode::Legacy); }