From e96fcb31f0df36a88922fa1870e3372218c79539 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 30 Jun 2023 11:29:02 +0200 Subject: [PATCH] layout: set pseudo to float size in new window --- src/layout/IHyprLayout.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp index 2e5b15a45..fd2216e35 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); } }