fix/change_display_resolution, send change resolution message

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2023-10-18 11:35:28 +08:00
parent 21f7d6c9b9
commit 4d537b2a9a
2 changed files with 22 additions and 24 deletions

View File

@@ -60,7 +60,9 @@ impl SyncDisplaysInfo {
}
// This function is really useful, though a duplicate check if display changed.
// Because the video server will send the supported resolutions of the {idx} display to the subscribers.
// The video server will then send the following messages to the client:
// 1. the supported resolutions of the {idx} display
// 2. the switch resolution message, so that the client can record the custom resolution.
pub(super) fn check_display_changed(
ndisplay: usize,
idx: usize,