diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-12-16 16:32:31 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-12-16 16:32:37 +0000 |
| commit | 709855842068315bb2109d8f422a70c2b5ed1931 (patch) | |
| tree | ffa51758081e7ca85582e195678199a5ac9b44ba /src/managers/animation/DesktopAnimationManager.cpp | |
| parent | 59438908de859e8f1901e864c1b1a3dcdeacf540 (diff) | |
desktop/layer: store aboveFs property and use that
Diffstat (limited to 'src/managers/animation/DesktopAnimationManager.cpp')
| -rw-r--r-- | src/managers/animation/DesktopAnimationManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/animation/DesktopAnimationManager.cpp b/src/managers/animation/DesktopAnimationManager.cpp index 16f70f9a..6c0f9222 100644 --- a/src/managers/animation/DesktopAnimationManager.cpp +++ b/src/managers/animation/DesktopAnimationManager.cpp @@ -482,7 +482,7 @@ void CDesktopAnimationManager::setFullscreenFadeAnimation(PHLWORKSPACE ws, eAnim if (ws->m_id == PMONITOR->activeWorkspaceID() || ws->m_id == PMONITOR->activeSpecialWorkspaceID()) { for (auto const& ls : PMONITOR->m_layerSurfaceLayers[ZWLR_LAYER_SHELL_V1_LAYER_TOP]) { - if (!ls->m_fadingOut) + if (!ls->m_fadingOut && !ls->m_aboveFullscreen) *ls->m_alpha = FULLSCREEN && ws->m_fullscreenMode == FSMODE_FULLSCREEN ? 0.f : 1.f; } } |
