mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-05 04:59:05 +08:00
trivial change
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
1291c840b9
commit
83c4909eeb
@ -361,11 +361,10 @@ pub fn event_to_key_event(event: &Event, lock_modes: Option<i32>) -> Option<KeyE
|
||||
}
|
||||
}
|
||||
};
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
if let Some(lock_modes) = lock_modes {
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
add_numlock_capslock_with_lock_modes(&mut key_event, lock_modes);
|
||||
} else {
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
add_numlock_capslock_status(&mut key_event);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user