http://bugs.winehq.org/show_bug.cgi?id=15485
--- Comment #30 from Anton Vorobyov phoenix@mail.ru 2008-10-19 06:11:39 --- Each time window gets focus following function is called (it's also called when eve.exe spawns and switches focus to ExeFile.exe): 0019:Call window proc 0x2c2b380 (hwnd=0x3002a,msg=WM_ACTIVATEAPP,wp=00000001,lp=00000000) After a while it should return some value: 0019:Ret window proc 0x2c2b380 (hwnd=0x3002a,msg=WM_ACTIVATEAPP,wp=00000001,lp=00000000) retval=00000000 This doesn't happen when game crashes on focus restore (all mentioned debug lines are from debug log where i was able to launch game, lose/restore focus couple of times, lose it once more and get hang on restore).
I still don't know why it fails before returning 0, will continue log investigation.