mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-31 00:51:04 +03:00
shared memory size use the max resolution of all displays (#8534)
The case of setting a monitor inserted later as the primary monitor is not taken into account Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
@@ -3150,6 +3150,7 @@ impl Connection {
|
||||
.map(|t| t.0 = Instant::now());
|
||||
}
|
||||
|
||||
#[cfg(feature = "hwcodec")]
|
||||
fn update_supported_encoding(&mut self) {
|
||||
let Some(last) = &self.last_supported_encoding else {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user