ignore OR windows' size hints

This commit is contained in:
vaxerski 2022-10-17 14:26:18 +01:00
parent 3f77cde50e
commit 286cb90c48

View file

@ -73,7 +73,7 @@ void CHyprXWaylandManager::getGeometryForWindow(CWindow* pWindow, wlr_box* pbox)
if (pWindow->m_bIsX11) { if (pWindow->m_bIsX11) {
const auto SIZEHINTS = pWindow->m_uSurface.xwayland->size_hints; const auto SIZEHINTS = pWindow->m_uSurface.xwayland->size_hints;
if (SIZEHINTS) { if (SIZEHINTS && pWindow->m_iX11Type != 2) {
pbox->x = SIZEHINTS->x; pbox->x = SIZEHINTS->x;
pbox->y = SIZEHINTS->y; pbox->y = SIZEHINTS->y;
pbox->width = SIZEHINTS->width; pbox->width = SIZEHINTS->width;