We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6ca4b6 commit c6c820dCopy full SHA for c6c820d
src/layout/IHyprLayout.cpp
@@ -141,7 +141,7 @@ void IHyprLayout::onWindowCreatedFloating(CWindow* pWindow) {
141
}
142
143
// TODO: detect a popup in a more consistent way.
144
- if ((desiredGeometry.x == 0 && desiredGeometry.y == 0) || !visible) {
+ if ((desiredGeometry.x == 0 && desiredGeometry.y == 0) || !visible || !pWindow->m_bIsX11) {
145
// if it's not, fall back to the center placement
146
pWindow->m_vRealPosition = PMONITOR->vecPosition + Vector2D((PMONITOR->vecSize.x - desiredGeometry.width) / 2.f, (PMONITOR->vecSize.y - desiredGeometry.height) / 2.f);
147
} else {
0 commit comments