From 9f767a1d133ed6d55aa12ea0fcd5ef6965d2b4b9 Mon Sep 17 00:00:00 2001 From: Victoria Brekenfeld Date: Tue, 26 Apr 2022 16:56:08 +0200 Subject: [PATCH] shell: Cleanup dead fullscreen surfaces --- src/shell/workspace.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shell/workspace.rs b/src/shell/workspace.rs index c698dcbe..c4015e47 100644 --- a/src/shell/workspace.rs +++ b/src/shell/workspace.rs @@ -129,6 +129,7 @@ impl Workspace { for window in dead_output_windows { self.unfullscreen_request(&window); } + self.fullscreen.retain(|_, w| w.toplevel().alive()); self.layout.refresh(&mut self.space); self.space.refresh(); }