mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 00:33:12 +00:00
Recover legacy keyboard mode when simulate
This commit is contained in:
1 parent
5dab7bd9a2
commit
3c61773d75
2 files changed
+13
-6
No files matched your search
@@ -420,7 +420,14 @@ impl Connection {
|
||||
}
|
||||
MessageInput::Key((mut msg, press)) => {
|
||||
// todo: press and down have similar meanings.
|
||||
if press && msg.mode == 3 {
|
||||
msg.down = true;
|
||||
}
|
||||
handle_key(&msg);
|
||||
if press && msg.mode == 3 {
|
||||
msg.down = false;
|
||||
handle_key(&msg);
|
||||
}
|
||||
}
|
||||
MessageInput::BlockOn => {
|
||||
if crate::platform::block_input(true) {
|
||||
|
||||
Reference in new issue
Block a user