add MOUSE_MOVE_TIME to key event, may work for

https://github.com/rustdesk/rustdesk/issues/8633 when window resume via
keyboard rather than mouse
This commit is contained in:
rustdesk
2024-07-08 11:38:42 +08:00
parent 7d961d895b
commit 3c7e24c605
2 changed files with 20 additions and 0 deletions

View File

@@ -1999,6 +1999,8 @@ impl Connection {
if is_enter(&me) {
CLICK_TIME.store(get_time(), Ordering::SeqCst);
}
// https://github.com/rustdesk/rustdesk/issues/8633
MOUSE_MOVE_TIME.store(get_time(), Ordering::SeqCst);
// handle all down as press
// fix unexpected repeating key on remote linux, seems also fix abnormal alt/shift, which
// make sure all key are released