June 25, 2026
3:58 a.m.
Etaash Mathamsetty (@etaash.mathamsetty) commented about dlls/winewayland.drv/wayland_surface.c:
} TRACE("Window is too large for Wayland state, using subregion\n"); } - else - { - OffsetRect(&rect, -rect.left, -rect.top); - }
TRACE("hwnd=%p geometry=%s\n", surface->hwnd, wine_dbgstr_rect(&rect));
- if (!IsRectEmpty(&rect)) + if (!IsRectEmpty(&rect) && !EqualRect(&rect, &surface->current.rect))
for toplevels the current.rect contains a size hint, not the current size of the window. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11248#note_144159