https://bugs.winehq.org/show_bug.cgi?id=26503
--- Comment #26 from Roberto Fernandez rfz@free.fr --- (In reply to Rafał Mużyło from comment #25)
@comment #24:
Please compare and contrast your proposed solution with both the problem and the hack from bug 49933.
If I understand bug 49933 correctly, the problem is related to a specific application (GOG Setup) which creates an invisible window, and the patch proposed by Rémi Bernon gives a workaround for taskbar to handle this application in a usable way.
This bug 26503 is about assigning a new active window. It is WM related, not taskbar, which are separate components in X11 paradigm. The patch proposed by Ethan Searl, in comment #20, gives focus to the only window of the application that can handle it when the application was developed within Delphi and uses forms with WS_DISABLED.