mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-31 09:01:04 +03:00
fix/change_display_resolution, send switch display msg
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
@@ -2142,6 +2142,12 @@ impl Connection {
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// Send display changed message.
|
||||
// For compatibility with old versions ( < 1.2.4 ).
|
||||
if let Some(msg_out) = video_service::make_display_changed_msg(self.display_idx, None) {
|
||||
self.send(msg_out).await;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user