Skip to content

Commit 61693a6

Browse files
committed
WIP locker: Rely on cosmic-bg for showing background
Requires pop-os/cosmic-comp#2792 and pop-os/cosmic-bg#144.
1 parent 0a16d33 commit 61693a6

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

src/locker.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,16 +1179,7 @@ impl cosmic::Application for App {
11791179

11801180
/// Creates a view after each update.
11811181
fn view_window(&self, surface_id: SurfaceId) -> Element<'_, Self::Message> {
1182-
let img = self
1183-
.common
1184-
.surface_images
1185-
.get(&surface_id)
1186-
.unwrap_or(&self.common.fallback_background);
1187-
widget::image(img)
1188-
.content_fit(iced::ContentFit::Cover)
1189-
.width(Length::Fill)
1190-
.height(Length::Fill)
1191-
.into()
1182+
widget::text("").into()
11921183
}
11931184

11941185
fn subscription(&self) -> Subscription<Self::Message> {

0 commit comments

Comments
 (0)