summaryrefslogtreecommitdiff
path: root/src/layout/IHyprLayout.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-06-30 11:29:02 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-06-30 11:29:06 +0200
commite96fcb31f0df36a88922fa1870e3372218c79539 (patch)
treed991aecee2b2aa20bb67acc675d0462b345b11d1 /src/layout/IHyprLayout.cpp
parent64fc19cc811434b81ab9bc6b8c64edbcbfd0cfd4 (diff)
layout: set pseudo to float size in new window
Diffstat (limited to 'src/layout/IHyprLayout.cpp')
-rw-r--r--src/layout/IHyprLayout.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp
index 2e5b15a4..fd2216e3 100644
--- a/src/layout/IHyprLayout.cpp
+++ b/src/layout/IHyprLayout.cpp
@@ -16,6 +16,8 @@ void IHyprLayout::onWindowCreated(CWindow* pWindow) {
pWindow->m_vLastFloatingSize = Vector2D(desiredGeometry.width, desiredGeometry.height);
}
+ pWindow->m_vPseudoSize = pWindow->m_vLastFloatingSize;
+
onWindowCreatedTiling(pWindow);
}
}