shell: refactor single visible_output
This commit is contained in:
parent
414cbfef2d
commit
d503e44ca8
5 changed files with 42 additions and 37 deletions
|
|
@ -41,8 +41,8 @@ impl FractionalScaleHandler for State {
|
|||
.or_else(|| {
|
||||
self.common
|
||||
.shell
|
||||
.visible_outputs_for_surface(&surface)
|
||||
.next()
|
||||
.visible_output_for_surface(&surface)
|
||||
.cloned()
|
||||
})
|
||||
})
|
||||
.unwrap_or_else(|| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue