http://bugs.winehq.org/show_bug.cgi?id=6971
--- Comment #429 from Brian Vuyk brian@brianvuyk.com 2010-12-10 11:15:18 CST --- I applied the patch in #428 to a git checkout, and it applied cleanly (albeit with some fuzz on a few hunks).
It seems to work fine in my usage when using a single monitor. However, I am running a dual monitor setup with Wine running in a 1920x1080 virtual desktop in my left monitor. I have 'Allow DirectX apps to stop the mouse leaving their window' checked in winecfg.
In the game Mount & Blade: Warband, as I turn my character, the mouse tends to exit the virtual desktop area into the right monitor. While in the right monitor, relative mouse motions are still read correctly in-game. However, if I happen to click on anything while the mouse is outside of the game window, the game loses focus.