From 686f4e764f547a75fe3b7a0cdeabeedb2dfff751 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Mon, 15 Jul 2024 11:34:54 -0700 Subject: [PATCH] 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. --- src/view/mod.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/view/mod.rs b/src/view/mod.rs index a757c94..af00e2a 100644 --- a/src/view/mod.rs +++ b/src/view/mod.rs @@ -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>(