mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 20:05:58 +01:00
fix fullscreen animation
This commit is contained in:
parent
4d498137b2
commit
07612534dd
1 changed files with 0 additions and 4 deletions
|
@ -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 a new issue