diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-17 14:26:18 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-17 14:26:18 +0100 |
| commit | 286cb90c48098f0e8ce014671ccda8754cb9c5dd (patch) | |
| tree | 70d57dfbd5386c18132454ef65663714c575b58c /src | |
| parent | 3f77cde50ed2960447fc8bea41a9a62fa53bead3 (diff) | |
ignore OR windows' size hints
Diffstat (limited to 'src')
| -rw-r--r-- | src/managers/XWaylandManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/XWaylandManager.cpp b/src/managers/XWaylandManager.cpp index ffddfd34..e9980075 100644 --- a/src/managers/XWaylandManager.cpp +++ b/src/managers/XWaylandManager.cpp @@ -73,7 +73,7 @@ void CHyprXWaylandManager::getGeometryForWindow(CWindow* pWindow, wlr_box* pbox) if (pWindow->m_bIsX11) { const auto SIZEHINTS = pWindow->m_uSurface.xwayland->size_hints; - if (SIZEHINTS) { + if (SIZEHINTS && pWindow->m_iX11Type != 2) { pbox->x = SIZEHINTS->x; pbox->y = SIZEHINTS->y; pbox->width = SIZEHINTS->width; |
