desktop: restore invisible floating window alpha/opacity when focused over fullscreen (#12994)
This commit is contained in:
parent
6c3ebed76e
commit
e7985ca4c4
5 changed files with 51 additions and 0 deletions
|
|
@ -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 {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue