mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-21 12:11:06 +03:00
fix: osx, reset modifiers' state after locking screen (#11806)
https://github.com/rustdesk/rustdesk/issues/11802 Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -1205,7 +1205,7 @@ pub fn handle_key(evt: &KeyEvent) {
|
||||
// If we don't sleep, the key press/release events may not take effect.
|
||||
//
|
||||
// For example, the controlled side osx `12.7.6` or `15.1.1`
|
||||
// If we input characters quickly and continuously, and press or release "Shift" for a short period of time,
|
||||
// If we input characters quickly and continuously, and press or release "Shift" for a short period of time,
|
||||
// it is possible that after releasing "Shift", the controlled side will still print uppercase characters.
|
||||
// Though it is not very easy to reproduce.
|
||||
key_sleep();
|
||||
|
||||
Reference in New Issue
Block a user