mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
fix apps key
This commit is contained in:
@@ -1134,6 +1134,8 @@ lazy_static::lazy_static! {
|
||||
("VK_NUMPAD7", Key::ControlKey(ControlKey::Numpad7)),
|
||||
("VK_NUMPAD8", Key::ControlKey(ControlKey::Numpad8)),
|
||||
("VK_NUMPAD9", Key::ControlKey(ControlKey::Numpad9)),
|
||||
("Apps", Key::ControlKey(ControlKey::Apps)),
|
||||
("Meta", Key::ControlKey(ControlKey::Meta)),
|
||||
("RAlt", Key::ControlKey(ControlKey::RAlt)),
|
||||
("RWin", Key::ControlKey(ControlKey::RWin)),
|
||||
("RControl", Key::ControlKey(ControlKey::RControl)),
|
||||
|
||||
@@ -890,6 +890,10 @@ impl Handler {
|
||||
}
|
||||
|
||||
let mut name = name;
|
||||
#[cfg(target_os = "linux")]
|
||||
if code == 65383 { // VK_MENU
|
||||
name = "Apps".to_owned();
|
||||
}
|
||||
|
||||
if extended {
|
||||
match name.as_ref() {
|
||||
|
||||
Reference in New Issue
Block a user