summaryrefslogtreecommitdiff
path: root/src/desktop/state/FocusState.cpp
diff options
context:
space:
mode:
authorNaufal Hisyam Muzakki <155966008+NaufalH27@users.noreply.github.com>2026-01-21 22:55:12 +0700
committerGitHub <noreply@github.com>2026-01-21 15:55:12 +0000
commite7985ca4c4fa6ca0d96a2f303c3f0395d2d27b31 (patch)
tree9c1c5733e28980567a3280a09dbfd9212bfa0e12 /src/desktop/state/FocusState.cpp
parent6c3ebed76e7def7b853e21fbf93f6eeb176696f9 (diff)
desktop: restore invisible floating window alpha/opacity when focused over fullscreen (#12994)
Diffstat (limited to 'src/desktop/state/FocusState.cpp')
-rw-r--r--src/desktop/state/FocusState.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/desktop/state/FocusState.cpp b/src/desktop/state/FocusState.cpp
index 2c1158be..0712fc10 100644
--- a/src/desktop/state/FocusState.cpp
+++ b/src/desktop/state/FocusState.cpp
@@ -8,6 +8,7 @@
#include "../../managers/HookSystemManager.hpp"
#include "../../xwayland/XSurface.hpp"
#include "../../protocols/PointerConstraints.hpp"
+#include "managers/animation/DesktopAnimationManager.hpp"
using namespace Desktop;
@@ -32,6 +33,7 @@ static SFullscreenWorkspaceFocusResult onFullscreenWorkspaceFocusWindow(PHLWINDO
if (pWindow->m_isFloating) {
// if the window is floating, just bring it to the top
pWindow->m_createdOverFullscreen = true;
+ g_pDesktopAnimationManager->setFullscreenFloatingFade(pWindow, 1.f);
g_pHyprRenderer->damageWindow(pWindow);
return {};
}