mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-30 17:19:03 +08:00
debug restore resolution
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
50150be363
commit
e551f63ab2
@ -2167,16 +2167,6 @@ impl Connection {
|
||||
}
|
||||
}
|
||||
}
|
||||
// Custom resolution here is only valid in the process of establishing a connection.
|
||||
// After the connection is established, the resolution is changed by another message.
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
if let Some(custom_resolution) = o.custom_resolution.as_ref() {
|
||||
if Self::alive_conns().len() == 1 {
|
||||
if custom_resolution.width > 0 && custom_resolution.height > 0 {
|
||||
self.change_resolution(&custom_resolution);
|
||||
}
|
||||
}
|
||||
}
|
||||
if self.keyboard {
|
||||
if let Ok(q) = o.block_input.enum_value() {
|
||||
match q {
|
||||
|
Loading…
Reference in New Issue
Block a user