Don't show background; rely on cosmic-comp for that

Requires https://github.com/pop-os/cosmic-comp/pull/609, or this will
show all the open windows.
This commit is contained in:
Ian Douglas Scott 2024-07-15 11:34:54 -07:00
parent 7ff45540e8
commit 686f4e764f

View file

@ -74,13 +74,7 @@ pub(crate) fn layer_surface<'a>(
.width(iced::Length::Fill),
),
};
let output_name = app
.outputs
.iter()
.find(|x| x.handle == surface.output)
.map_or("", |o| &o.name);
let bg = bg_element(&app.conf.bg, output_name);
crate::widgets::image_bg(container, bg).into()
container.into()
}
pub(crate) fn drag_surface<'a>(