fix/change_display_resolution, send switch display msg

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2023-10-18 10:45:46 +08:00
parent c1b865d00e
commit 21f7d6c9b9
3 changed files with 28 additions and 15 deletions

View File

@@ -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;
}
}
}