mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-17 19:41:29 +03:00
@@ -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]
|
#[inline]
|
||||||
pub fn update_latest_input_cursor_time() {
|
pub fn update_latest_input_cursor_time() {
|
||||||
LATEST_PEER_INPUT_CURSOR.lock().unwrap().time = get_time();
|
LATEST_PEER_INPUT_CURSOR.lock().unwrap().time = get_time();
|
||||||
|
|||||||
Reference in New Issue
Block a user