http://bugs.winehq.org/show_bug.cgi?id=12455
--- Comment #8 from Nicolay Doytchev lightrush@gmail.com 2008-04-10 19:45:18 --- OK here are last updates on my side.
The gentleman from this bug http://bugs.winehq.org/show_bug.cgi?id=12415 , has posted a hack to fix his issue:
Sorry I can not recreate your bug my 0.9.57 version of wine has a hack in it. A window hack... Find and replace "GetDesktopWindow()" with "0" Please note this restarts a other bug. But it fixes a bug with Warcraft 3x tabing to a other window and the game screen comes back with the gnome tool bars showing. I am not show if the is a bug open for that one.
"./dlls/winex11.drv/event.c" is the file you hack. I am going to look up that other bug and the bug the hack restarts.
Consequently I did what he said on wine-0.9.59 source, compiled etc. and this bug doesn't exist anymore. Or at least the crashing behaviour is not here anymore.
So I guess the issues are correlated after all and I hope this will help somehow.
Please state if you are going to fix this bug or if u do not plan to fix it due other issues/features so I/others will know to hack their event.c to prevent crashes in Warcraft III.