https://bugs.winehq.org/show_bug.cgi?id=38394
--- Comment #1 from Stefan Dösinger stefan@codeweavers.com --- I can reproduce this using KDE, but it is fairly rare. As far as I can see the game tries to call SetCooperativeLevel at the same time a focus loss happens, though it's not clear to me why exactly this crashes. I also think the focus loss itself is the problem, not the concurrency.
I tested this case with d3d9 when I wrote the focus handling patches. In d3d9 doing what the app seems to be doing results in a segfault on Windows.