mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-06-30 11:01:50 +08:00
[fix] prevent remote keyboard keys from getting stuck
This commit is contained in:
@@ -1192,10 +1192,16 @@ void Render::UpdateInteractions() {
|
||||
keyboard_capturer_is_started_ = true;
|
||||
}
|
||||
}
|
||||
if (keyboard_capturer_is_started_) {
|
||||
SendKeyboardHeartbeat(false);
|
||||
}
|
||||
} else if (keyboard_capturer_is_started_) {
|
||||
ForceReleasePressedKeys();
|
||||
StopKeyboardCapturer();
|
||||
keyboard_capturer_is_started_ = false;
|
||||
}
|
||||
|
||||
CheckRemoteKeyboardTimeouts();
|
||||
}
|
||||
|
||||
int Render::CreateMainWindow() {
|
||||
|
||||
Reference in New Issue
Block a user