don't change alpha on special anims

This commit is contained in:
vaxerski 2022-11-24 20:51:33 +00:00
parent 379597e78f
commit 9616dc7bd8

View file

@ -96,7 +96,7 @@ void CWorkspace::startAnim(bool in, bool left, bool instant) {
} }
// check LS-es // check LS-es
if (in) { if (in && !m_bIsSpecialWorkspace) {
const auto PMONITOR = g_pCompositor->getMonitorFromID(m_iMonitorID); const auto PMONITOR = g_pCompositor->getMonitorFromID(m_iMonitorID);
for (auto& ls : PMONITOR->m_aLayerSurfaceLists[ZWLR_LAYER_SHELL_V1_LAYER_TOP]) { for (auto& ls : PMONITOR->m_aLayerSurfaceLists[ZWLR_LAYER_SHELL_V1_LAYER_TOP]) {
if (!ls->fadingOut) if (!ls->fadingOut)