From 6501bceb42d892182246e956c8e90d83e2c15cba Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sun, 30 Apr 2023 01:13:58 +0100 Subject: [PATCH] workspace: don't check LS-es in startAnim --- src/helpers/Workspace.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/helpers/Workspace.cpp b/src/helpers/Workspace.cpp index e8c74fa2..445029e8 100644 --- a/src/helpers/Workspace.cpp +++ b/src/helpers/Workspace.cpp @@ -98,15 +98,6 @@ void CWorkspace::startAnim(bool in, bool left, bool instant) { m_vRenderOffset.warp(); m_fAlpha.warp(); } - - // check LS-es - if (in && !m_bIsSpecialWorkspace) { - const auto PMONITOR = g_pCompositor->getMonitorFromID(m_iMonitorID); - for (auto& ls : PMONITOR->m_aLayerSurfaceLayers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]) { - if (!ls->fadingOut) - ls->alpha = m_bHasFullscreenWindow && m_efFullscreenMode == FULLSCREEN_FULL ? 0.f : 1.f; - } - } } void CWorkspace::setActive(bool on) {