https://bugs.winehq.org/show_bug.cgi?id=38196
Ilya Konovalov aragaer@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aragaer@gmail.com
--- Comment #1 from Ilya Konovalov aragaer@gmail.com --- Created attachment 56277 --> https://bugs.winehq.org/attachment.cgi?id=56277 possible patch
There are other applications expecting to get "explorer.exe" window when using GetShellWindow(). An example is described here - http://blogs.microsoft.co.il/pavely/2011/06/18/getshellwindow-vs-getdesktopw...
A simple solution would be to check if result of GetShellWindow is about to be null and in that case call get_desktop_window and return that instead. See attachment.
I don't have a test for that, but I've encountered an application which hit exactly this problem. Using this patch I've managed to fix that one.