June 25, 2026
7:07 a.m.
Etaash Mathamsetty (@etaash.mathamsetty) commented about dlls/winewayland.drv/wayland_surface.c:
{ case WAYLAND_SURFACE_ROLE_NONE: break; + case WAYLAND_SURFACE_ROLE_POPUP: + if (!(owner_data = wayland_win_data_get_nolock(surface->owner_hwnd))) return FALSE; + if ((owner = owner_data->wayland_surface)) OffsetRect(&rect, -owner->window.rect.left, -owner->window.rect.top); + /* fallthrough */ case WAYLAND_SURFACE_ROLE_TOPLEVEL: + rect = map_rect_to_surface(surface, rect);
I dont think we need these changes anymore -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11248#note_144193