From e7985ca4c4fa6ca0d96a2f303c3f0395d2d27b31 Mon Sep 17 00:00:00 2001 From: Naufal Hisyam Muzakki <155966008+NaufalH27@users.noreply.github.com> Date: Wed, 21 Jan 2026 22:55:12 +0700 Subject: desktop: restore invisible floating window alpha/opacity when focused over fullscreen (#12994) --- src/desktop/state/FocusState.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/desktop/state/FocusState.cpp') 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 {}; } -- cgit v1.2.3