summaryrefslogtreecommitdiff
path: root/src/layout/IHyprLayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/IHyprLayout.cpp')
-rw-r--r--src/layout/IHyprLayout.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp
index d2c2c9ad..565e8b0d 100644
--- a/src/layout/IHyprLayout.cpp
+++ b/src/layout/IHyprLayout.cpp
@@ -301,6 +301,9 @@ void IHyprLayout::changeWindowFloatingMode(CWindow* pWindow) {
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);
pWindow->m_vRealPosition.setValue(PSAVEDPOS);