shell: One workspace per output

This commit is contained in:
Victoria Brekenfeld 2023-10-25 19:40:26 +02:00
parent 42aaafe586
commit 72df9d07e6
21 changed files with 1561 additions and 1987 deletions

View file

@ -492,7 +492,7 @@ impl CosmicMapped {
pub fn convert_to_stack<'a>(
&mut self,
outputs: impl Iterator<Item = (&'a Output, Rectangle<i32, Logical>)>,
(output, overlap): (&'a Output, Rectangle<i32, Logical>),
) {
match &self.element {
CosmicMappedInternal::Window(window) => {
@ -518,7 +518,7 @@ impl CosmicMapped {
pub fn convert_to_surface<'a>(
&mut self,
surface: CosmicSurface,
outputs: impl Iterator<Item = (&'a Output, Rectangle<i32, Logical>)>,
(output, overlap): (&'a Output, Rectangle<i32, Logical>),
) {
let handle = self.loop_handle();
surface.try_force_undecorated(false);