18 Aug
2024
18 Aug
'24
11:58 a.m.
Rémi Bernon (@rbernon) commented about dlls/winewayland.drv/wayland_surface.c:
}
surface->window.scale = 1.0; + surface->weak_ref = 1;
I don't really like that weak ref, I think you should be able to make it work without it. Just use `NtUserGetAncestor( hwnd, GA_ROOT )` to get the toplevel window and lock its wayland_surface. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6107#note_79059