mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 02:29:49 +01:00
workspace: don't check LS-es in startAnim
This commit is contained in:
parent
3580f845e6
commit
6501bceb42
1 changed files with 0 additions and 9 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue