On Thu Oct 16 05:39:38 2025 +0000, Paul Gofman wrote:
I am afraid such way of trying selectively fix up Z order will break more than fix. The correct Z order is not handled in general and enforcing that for specific particular case is likely not correct. This way 'transient for' should be set throughout for each and every our window to ensure the ordering, but then it has side effects and unlikely to work very well.
Such modifications might, as you mentioned, introduce other issues. Although I haven't tested them yet, the code logic in Wine currently does not process the '**insert_after**' parameter passed to the **SetWindowPos** function. This is certain to cause problems, as this parameter affects the window Z-order. For specific details, you can refer to MSDN:https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwi...