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:
21pages authored and GitHub committed 2024-06-29 21:50:21 +08:00
1 parent 4b6ba7938f
commit 5114a9d369
2 files changed
+8 -3

No files matched your search

+1
View File
@@ -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;