http://bugs.winehq.org/show_bug.cgi?id=16136
--- Comment #4 from Eric Sandall sandalle@sourcemage.org 2008-12-01 01:33:06 --- Another issue I've had (only tested in KDE 3.5.10), which seems related as I'll mention below, since the Mines of Moria release is that when I switch virtual desktops (e.g. with KDE 3.5.10 using CTRL+F1 to switch to Desktop 1, that game being in Desktop 2), when I go back to the desktop with the game, it is minimized. Before the Mines of Moria patch (no change in WINE) the game would stay fullscreen (and also did not crash when switching desktops on some WMs/DEs, as this bug is about).
Why it might be related to this bug: When I apply this patch, the game stays maximized when I switch back and forth between desktops (and also doesn't crash in some WMs/DEs, e.g. Enlightenment DR17). However, when I switch back to the game, no matter what I do it will not grab the keyboard or mouse input. I had a Konsole open in the background on that Desktop and it was receiving the keyboard output, rather than the maximized (and supposedly in the foreground) game. This happens with and without an extra window on the same Desktop and both "Focus with Mouse" and "Click to Focus" have this issue.
So the focus is being stolen and not given back when this patch is applied, but without the patch on most WM/DE the app will be minimized when Desktops are switched, and on a few (FVWM and Enlightenment DR17) the app crashes.