Fixes for rendering windows in Global workspace mode
* Render window and active indicator at correct position relative to where the output is within the space. * Show active indicator around whole window, not only part of window on focused output.
This commit is contained in:
parent
8a188cb39e
commit
3804c67557
3 changed files with 11 additions and 4 deletions
|
|
@ -406,6 +406,10 @@ impl Workspace {
|
|||
.chain(self.tiling_layer.mapped().map(|(_, w, _)| w))
|
||||
}
|
||||
|
||||
pub fn outputs(&self) -> impl Iterator<Item = &Output> {
|
||||
self.floating_layer.space.outputs()
|
||||
}
|
||||
|
||||
pub fn windows(&self) -> impl Iterator<Item = CosmicSurface> + '_ {
|
||||
self.floating_layer
|
||||
.windows()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue