mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 16:06:00 +01:00
fix pinned fade on fs
This commit is contained in:
parent
2dd1661aec
commit
6f98b3cbd8
1 changed files with 1 additions and 1 deletions
|
@ -1616,7 +1616,7 @@ void CCompositor::setWindowFullscreen(CWindow* pWindow, bool on, eFullscreenMode
|
||||||
for (auto& w : g_pCompositor->m_vWindows) {
|
for (auto& w : g_pCompositor->m_vWindows) {
|
||||||
if (w->m_iWorkspaceID == pWindow->m_iWorkspaceID) {
|
if (w->m_iWorkspaceID == pWindow->m_iWorkspaceID) {
|
||||||
w->m_bCreatedOverFullscreen = false;
|
w->m_bCreatedOverFullscreen = false;
|
||||||
if (w.get() != pWindow && !w->m_bFadingOut)
|
if (w.get() != pWindow && !w->m_bFadingOut && !w->m_bPinned)
|
||||||
w->m_fAlpha = pWindow->m_bIsFullscreen && mode == FULLSCREEN_FULL ? 0.f : 255.f;
|
w->m_fAlpha = pWindow->m_bIsFullscreen && mode == FULLSCREEN_FULL ? 0.f : 255.f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue