kms: Fix broken mirroring with different scales but same mode
This commit is contained in:
parent
7373567af1
commit
1a28e43aa7
1 changed files with 2 additions and 1 deletions
|
|
@ -914,7 +914,8 @@ impl SurfaceThreadState {
|
||||||
self.output
|
self.output
|
||||||
.current_mode()
|
.current_mode()
|
||||||
.is_some_and(|mode| mode != mirror_mode)
|
.is_some_and(|mode| mode != mirror_mode)
|
||||||
})
|
}) || mirrored_output.current_scale().fractional_scale()
|
||||||
|
!= self.output.current_scale().fractional_scale()
|
||||||
}) {
|
}) {
|
||||||
let mirroring_state = {
|
let mirroring_state = {
|
||||||
let entry = self.mirroring_textures.entry(self.target_node);
|
let entry = self.mirroring_textures.entry(self.target_node);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue