mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 01:25:58 +01:00
ignore OR windows' size hints
This commit is contained in:
parent
3f77cde50e
commit
286cb90c48
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue