mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 16:38:17 +00:00
1 parent
3aabd8f5ae
commit
13fe997447
1 file changed
+2
@@ -671,6 +671,8 @@ fn fix_modifiers(modifiers: &[EnumOrUnknown<ControlKey>], en: &mut Enigo, ck: i3
|
||||
}
|
||||
}
|
||||
|
||||
// Update time to avoid send cursor position event to the peer.
|
||||
// See `run_pos` --> `set_cursor_position` --> `exclude`
|
||||
#[inline]
|
||||
pub fn update_latest_input_cursor_time() {
|
||||
LATEST_PEER_INPUT_CURSOR.lock().unwrap().time = get_time();
|
||||
|
||||
Reference in new issue
Block a user