mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-23 00:49:04 +00:00
Without Clear Key on Mac OS
This commit is contained in:
parent
a0cb39af9c
commit
30bfa59e7d
1 changed files with 4 additions and 0 deletions
|
|
@ -1061,6 +1061,10 @@ impl Handler {
|
|||
let key = self.convert_numpad_keys(key);
|
||||
rdev::win_keycode_from_key(key).unwrap_or_default().into()
|
||||
} else {
|
||||
// Without Clear Key on Mac OS
|
||||
if key == rdev::Key::Clear{
|
||||
return;
|
||||
}
|
||||
rdev::macos_keycode_from_key(key).unwrap_or_default().into()
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue