From e2594c79cc33dc3465589778b6d4020f7dbadace Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 25 Jul 2022 18:35:53 +0200 Subject: [PATCH] fix fading out layers without unmap --- src/events/Layers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/events/Layers.cpp b/src/events/Layers.cpp index f69b9127..871e118d 100644 --- a/src/events/Layers.cpp +++ b/src/events/Layers.cpp @@ -70,6 +70,7 @@ void Events::listener_destroyLayerSurface(void* owner, void* data) { Debug::log(LOG, "Removing LayerSurface that wasn't mapped."); layersurface->alpha.setValueAndWarp(0.f); layersurface->fadingOut = true; + g_pCompositor->m_vSurfacesFadingOut.push_back(layersurface); } layersurface->noProcess = true;