shell/element: Don't render decorations for dead windows
This commit is contained in:
parent
6d0f1b273f
commit
15bbada498
3 changed files with 32 additions and 18 deletions
|
|
@ -606,6 +606,10 @@ impl CosmicMapped {
|
|||
CosmicMappedRenderElement<R>: RenderElement<R>,
|
||||
C: From<CosmicMappedRenderElement<R>>,
|
||||
{
|
||||
if !self.element.alive() {
|
||||
return None;
|
||||
}
|
||||
|
||||
match &self.element {
|
||||
CosmicMappedInternal::Stack(s) => s
|
||||
.shadow_render_element::<R, CosmicMappedRenderElement<R>>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue