fix fading out layers without unmap
This commit is contained in:
parent
a0be6e19d8
commit
e2594c79cc
1 changed files with 1 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ void Events::listener_destroyLayerSurface(void* owner, void* data) {
|
||||||
Debug::log(LOG, "Removing LayerSurface that wasn't mapped.");
|
Debug::log(LOG, "Removing LayerSurface that wasn't mapped.");
|
||||||
layersurface->alpha.setValueAndWarp(0.f);
|
layersurface->alpha.setValueAndWarp(0.f);
|
||||||
layersurface->fadingOut = true;
|
layersurface->fadingOut = true;
|
||||||
|
g_pCompositor->m_vSurfacesFadingOut.push_back(layersurface);
|
||||||
}
|
}
|
||||||
|
|
||||||
layersurface->noProcess = true;
|
layersurface->noProcess = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue