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:
parent
7ff45540e8
commit
686f4e764f
1 changed files with 1 additions and 7 deletions
|
|
@ -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>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue