mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 10:49:52 +01:00
fix animation issues with workspace silent
This commit is contained in:
parent
037d4ed422
commit
fa2d81b649
3 changed files with 0 additions and 8 deletions
|
@ -1605,8 +1605,6 @@ void CCompositor::setWindowFullscreen(CWindow* pWindow, bool on, eFullscreenMode
|
||||||
if (!windowValidMapped(pWindow))
|
if (!windowValidMapped(pWindow))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
focusWindow(pWindow);
|
|
||||||
|
|
||||||
g_pLayoutManager->getCurrentLayout()->fullscreenRequestForWindow(pWindow, mode, on);
|
g_pLayoutManager->getCurrentLayout()->fullscreenRequestForWindow(pWindow, mode, on);
|
||||||
|
|
||||||
g_pXWaylandManager->setWindowFullscreen(pWindow, pWindow->m_bIsFullscreen && mode == FULLSCREEN_FULL);
|
g_pXWaylandManager->setWindowFullscreen(pWindow, pWindow->m_bIsFullscreen && mode == FULLSCREEN_FULL);
|
||||||
|
|
|
@ -682,9 +682,6 @@ void CHyprDwindleLayout::fullscreenRequestForWindow(CWindow* pWindow, eFullscree
|
||||||
if (!g_pCompositor->windowValidMapped(pWindow))
|
if (!g_pCompositor->windowValidMapped(pWindow))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!g_pCompositor->isWorkspaceVisible(pWindow->m_iWorkspaceID))
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (on == pWindow->m_bIsFullscreen)
|
if (on == pWindow->m_bIsFullscreen)
|
||||||
return; // ignore
|
return; // ignore
|
||||||
|
|
||||||
|
|
|
@ -326,9 +326,6 @@ void CHyprMasterLayout::fullscreenRequestForWindow(CWindow* pWindow, eFullscreen
|
||||||
if (!g_pCompositor->windowValidMapped(pWindow))
|
if (!g_pCompositor->windowValidMapped(pWindow))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!g_pCompositor->isWorkspaceVisible(pWindow->m_iWorkspaceID))
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (on == pWindow->m_bIsFullscreen)
|
if (on == pWindow->m_bIsFullscreen)
|
||||||
return; // ignore
|
return; // ignore
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue