in tiling compositors, or those with decorations always on, having popups (like menu items or
on-hover tooltips) be set as toplevels causes them to become unusable. Instead, if a HWND is owned
by another window that has a wayland surface, create the surface as a xdg_popup of the owner.
since i couldn't find any info on this issue aside from https://bugs.winehq.org/show_bug.cgi?id=56278,
i decided to try and fix it.
those patches are a WIP, currently it manages fine running tools like notepad.exe and notepad++,
but gimp and winecfg still don't work. some tests, namely tooltip.c in comctl32 are failing,
although i can reproduce the failure on the master branch, will look into it.
Signed-off-by: Anna (navi) Figueiredo Gomes <navi(a)vlhl.dev>
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5994