fix fading out layers without unmap

This commit is contained in:
vaxerski 2022-07-25 18:35:53 +02:00
parent a0be6e19d8
commit e2594c79cc

View file

@ -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;