mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-19 23:02:16 +00:00
1 parent
700a59ea72
commit
8353afb02d
3 files changed
+6
-3
No files matched your search
@@ -1936,6 +1936,7 @@ impl Connection {
|
||||
true
|
||||
}
|
||||
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
fn change_resolution(&mut self, r: &Resolution) {
|
||||
if self.keyboard {
|
||||
if let Ok(name) = video_service::get_current_display_name() {
|
||||
@@ -2148,6 +2149,7 @@ impl Connection {
|
||||
}
|
||||
}
|
||||
}
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
if let Some(custom_resolution) = o.custom_resolution.as_ref() {
|
||||
if custom_resolution.width > 0 && custom_resolution.height > 0 {
|
||||
self.change_resolution(&custom_resolution);
|
||||
|
||||
Reference in new issue
Block a user