https://bugs.winehq.org/show_bug.cgi?id=48462
--- Comment #2 from Dominique Martinet dvufhr.nznqarjf@noclue.notk.org --- No, virtual desktop is disabled; this is just a floating window with the game's built-in windowed mode.
The result does look similar though, whatever other bug report I was doing at the time got sent on in game chat and people wondered what the hell I was saying :D
I would guess desktop mode also interprets keypresses through raw mode (because it would need to send raw events to game which expect them), so your patch make keystrokes go to it when unfocused; and my game has the same problem. wine desktop mode might be "work-around-able" (e.g. only forward keys if focused) but I don't see how closed source games could be :/
Thanks,