mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-13 06:42:18 +00:00
Compatible with legacy mode in remote
This commit is contained in:
1 parent
a77d64d181
commit
19ebbb145a
2 files changed
+8
-8
No files matched your search
@@ -420,11 +420,11 @@ impl Connection {
|
||||
}
|
||||
MessageInput::Key((mut msg, press)) => {
|
||||
// todo: press and down have similar meanings.
|
||||
if press && msg.mode == 3 {
|
||||
if press && msg.mode == 0 {
|
||||
msg.down = true;
|
||||
}
|
||||
handle_key(&msg);
|
||||
if press && msg.mode == 3 {
|
||||
if press && msg.mode == 0 {
|
||||
msg.down = false;
|
||||
handle_key(&msg);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user