mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-04 16:31:29 +03:00
fix mismatch of current display index and current display name
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -1043,6 +1043,8 @@ impl Connection {
|
||||
})
|
||||
.into();
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
video_service::try_reset_current_display();
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
{
|
||||
pi.resolutions = Some(SupportedResolutions {
|
||||
resolutions: video_service::get_current_display_name()
|
||||
|
||||
Reference in New Issue
Block a user