mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-06 04:25:59 +01:00
parent
e2426942e5
commit
de68e065fe
1 changed files with 2 additions and 2 deletions
|
@ -552,10 +552,10 @@ void IHyprLayout::changeWindowFloatingMode(PHLWINDOW pWindow) {
|
||||||
|
|
||||||
pWindow->m_vLastFloatingSize = PSAVEDSIZE;
|
pWindow->m_vLastFloatingSize = PSAVEDSIZE;
|
||||||
|
|
||||||
// move to narnia because we don't wanna find our own node. onWindowCreatedTiling should apply the coords back.
|
// move to narnia because we don't wanna find our own node. onWindowCreated should apply the coords back.
|
||||||
pWindow->m_vPosition = Vector2D(-999999, -999999);
|
pWindow->m_vPosition = Vector2D(-999999, -999999);
|
||||||
|
|
||||||
onWindowCreatedTiling(pWindow);
|
onWindowCreated(pWindow);
|
||||||
|
|
||||||
pWindow->m_vRealPosition.setValue(PSAVEDPOS);
|
pWindow->m_vRealPosition.setValue(PSAVEDPOS);
|
||||||
pWindow->m_vRealSize.setValue(PSAVEDSIZE);
|
pWindow->m_vRealSize.setValue(PSAVEDSIZE);
|
||||||
|
|
Loading…
Reference in a new issue