https://bugs.winehq.org/show_bug.cgi?id=44181
Bug ID: 44181 Summary: Window with style WS_POPUP does not stay in front of his parent in unmanaged mode Product: Wine Version: 3.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: bernd.amend@outlook.com Distribution: ---
Created attachment 59944 --> https://bugs.winehq.org/attachment.cgi?id=59944 Test case
Windows with style WS_POPUP don't stay in front of their parent in unmanaged mode ("Allow the window manager to control the windows" is disabled). In managed mode everything works as expected.
The attachment "Test case" (https://pastebin.com/AbDih95E) illustrates the issue. The Test Popup should always stay in front of the Main window. If I comment out the lines dlls/winex11.drv/event.c:581 and 582 (tag: wine-3.0-rc2) the example works as expected.
Any hints on how I can fix this issue?
I tested wine 2.22, 3.0rc1, and 3.0rc2 (identical to git master).