mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 03:28:03 +00:00
disable hwcodec if causing crash
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -544,7 +544,7 @@ impl<T: InvokeUiSession> Session<T> {
|
||||
let key = rdev::key_from_code(position_code) as rdev::Key;
|
||||
// Windows requires special handling
|
||||
#[cfg(target_os = "windows")]
|
||||
let key = rdev::get_win_key(keycode, scancode);
|
||||
let key = rdev::get_win_key(platform_code, position_code);
|
||||
|
||||
let event_type = if down_or_up {
|
||||
KeyPress(key)
|
||||
|
||||
Reference in New Issue
Block a user