mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 08:34:12 +00: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:
1 parent
118552ad0e
commit
6144a1c97e
2 files changed
+32
-15
No files matched your search
@@ -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