fix fullscreen animation

This commit is contained in:
vaxerski 2022-03-27 19:27:50 +02:00
parent 4d498137b2
commit 07612534dd

View file

@ -396,7 +396,6 @@ void CHyprDwindleLayout::fullscreenRequestForWindow(CWindow* pWindow) {
pWindow->m_vEffectivePosition = pWindow->m_vPosition;
pWindow->m_vEffectiveSize = pWindow->m_vSize;
// TEMP: Remove when anims added
g_pXWaylandManager->setWindowSize(pWindow, pWindow->m_vRealSize);
}
} else {
@ -412,9 +411,6 @@ void CHyprDwindleLayout::fullscreenRequestForWindow(CWindow* pWindow) {
pWindow->m_vEffectivePosition = PMONITOR->vecPosition;
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);
}