mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-30 07:33:03 +00:00
Sync CapsLock and NumLock status in legacy mode.
This commit is contained in:
1 parent
b3b97ee69a
commit
1caee4e306
4 files changed
+34
-26
No files matched your search
+1
-1
@@ -1105,7 +1105,7 @@ impl Handler {
|
||||
key_event.modifiers.push(ControlKey::CapsLock.into());
|
||||
}
|
||||
if self.peer_platform() != "Mac OS" {
|
||||
if get_key_state(enigo::Key::NumLock) && common::valid_for_numlock(&key_event) {
|
||||
if get_key_state(enigo::Key::NumLock) {
|
||||
key_event.modifiers.push(ControlKey::NumLock.into());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user