shell/elements: Don't render border when maximized

This commit is contained in:
Victoria Brekenfeld 2025-12-15 18:15:16 +01:00 committed by Victoria Brekenfeld
parent a28b11cd5b
commit 4854f8e42d
2 changed files with 4 additions and 4 deletions

View file

@ -484,7 +484,7 @@ impl CosmicWindow {
geo.size.h += SSD_HEIGHT as f64;
}
if has_ssd || clip {
if (has_ssd || clip) && !is_maximized {
let window_key =
CosmicMappedKey(CosmicMappedKeyInner::Window(Arc::downgrade(&self.0.0)));