mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-11-24 13:53:37 +03:00
fix fullscreen animation
This commit is contained in:
parent
4d498137b2
commit
07612534dd
@ -396,7 +396,6 @@ void CHyprDwindleLayout::fullscreenRequestForWindow(CWindow* pWindow) {
|
|||||||
pWindow->m_vEffectivePosition = pWindow->m_vPosition;
|
pWindow->m_vEffectivePosition = pWindow->m_vPosition;
|
||||||
pWindow->m_vEffectiveSize = pWindow->m_vSize;
|
pWindow->m_vEffectiveSize = pWindow->m_vSize;
|
||||||
|
|
||||||
// TEMP: Remove when anims added
|
|
||||||
g_pXWaylandManager->setWindowSize(pWindow, pWindow->m_vRealSize);
|
g_pXWaylandManager->setWindowSize(pWindow, pWindow->m_vRealSize);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -412,9 +411,6 @@ void CHyprDwindleLayout::fullscreenRequestForWindow(CWindow* pWindow) {
|
|||||||
pWindow->m_vEffectivePosition = PMONITOR->vecPosition;
|
pWindow->m_vEffectivePosition = PMONITOR->vecPosition;
|
||||||
pWindow->m_vEffectiveSize = PMONITOR->vecSize;
|
pWindow->m_vEffectiveSize = PMONITOR->vecSize;
|
||||||
|
|
||||||
// TEMP: Remove when anims added
|
|
||||||
pWindow->m_vRealPosition = pWindow->m_vEffectivePosition;
|
|
||||||
pWindow->m_vRealSize = pWindow->m_vEffectiveSize;
|
|
||||||
g_pXWaylandManager->setWindowSize(pWindow, pWindow->m_vRealSize);
|
g_pXWaylandManager->setWindowSize(pWindow, pWindow->m_vRealSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user