Rémi Bernon (@rbernon) commented about dlls/winewayland.drv/window.c:
{ /* hwnd that this private data belongs to */ HWND hwnd;
- /* parent hwnd for child windows */
- HWND parent;
Unless there is a specific reason I'm not sure you want surface for every Win32 windows.
I believe it is unnecessary and may cause more harm than good. Wine already handles compositing of child windows onto their parent surface (though there's possibly some tricks with cross-process rendering), and winex11 for instance only realize top-level windows into X11 windows.