mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-25 13:19:04 +08:00
Without Clear Key on Mac OS
This commit is contained in:
parent
a0cb39af9c
commit
30bfa59e7d
@ -1061,6 +1061,10 @@ impl Handler {
|
|||||||
let key = self.convert_numpad_keys(key);
|
let key = self.convert_numpad_keys(key);
|
||||||
rdev::win_keycode_from_key(key).unwrap_or_default().into()
|
rdev::win_keycode_from_key(key).unwrap_or_default().into()
|
||||||
} else {
|
} else {
|
||||||
|
// Without Clear Key on Mac OS
|
||||||
|
if key == rdev::Key::Clear{
|
||||||
|
return;
|
||||||
|
}
|
||||||
rdev::macos_keycode_from_key(key).unwrap_or_default().into()
|
rdev::macos_keycode_from_key(key).unwrap_or_default().into()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user