mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-04 23:21:28 +03:00
fix/change_display_resolution, send switch display msg
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
@@ -242,6 +242,10 @@ pub(super) fn get_sync_displays() -> Vec<DisplayInfo> {
|
||||
SYNC_DISPLAYS.lock().unwrap().displays.clone()
|
||||
}
|
||||
|
||||
pub(super) fn get_display_info(idx: usize) -> Option<DisplayInfo> {
|
||||
SYNC_DISPLAYS.lock().unwrap().displays.get(idx).cloned()
|
||||
}
|
||||
|
||||
// Display to DisplayInfo
|
||||
// The DisplayInfo is be sent to the peer.
|
||||
pub(super) fn check_update_displays(all: &Vec<Display>) {
|
||||
|
||||
Reference in New Issue
Block a user