mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-10 05:26:00 +01:00
Fix self-noding in changeWindowFloatingMode
This commit is contained in:
parent
8ffd244ef6
commit
da8be82c9a
1 changed files with 3 additions and 0 deletions
|
@ -301,6 +301,9 @@ void IHyprLayout::changeWindowFloatingMode(CWindow* 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.
|
||||||
|
pWindow->m_vPosition = Vector2D(-999999, -999999);
|
||||||
|
|
||||||
onWindowCreatedTiling(pWindow);
|
onWindowCreatedTiling(pWindow);
|
||||||
|
|
||||||
pWindow->m_vRealPosition.setValue(PSAVEDPOS);
|
pWindow->m_vRealPosition.setValue(PSAVEDPOS);
|
||||||
|
|
Loading…
Reference in a new issue