mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-11 02:01:53 -07:00
layout: set pseudo to float size in new window
This commit is contained in:
@@ -16,6 +16,8 @@ void IHyprLayout::onWindowCreated(CWindow* pWindow) {
|
|||||||
pWindow->m_vLastFloatingSize = Vector2D(desiredGeometry.width, desiredGeometry.height);
|
pWindow->m_vLastFloatingSize = Vector2D(desiredGeometry.width, desiredGeometry.height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pWindow->m_vPseudoSize = pWindow->m_vLastFloatingSize;
|
||||||
|
|
||||||
onWindowCreatedTiling(pWindow);
|
onWindowCreatedTiling(pWindow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user