http://bugs.winehq.org/show_bug.cgi?id=16567
--- Comment #2 from Stéphane Charette stephanecharette@gmail.com 2008-12-19 02:44:00 --- As I was asked, upgraded to Wine 1.1.10. Problem is solved if the mouse goes off the virtual desktop to the right or bottom of the screen.
But problem (crash) still exists if the mouse goes off the Wine virtual desktop to the left or the top. Dialog window is the same, except for the coordinates:
-------------------- Left-side-crash:
FastBltNoTrasn() - err ret=88760096, pDescription=Dirty Rect Fast Blt, rSrcRect: t=299, b=339, l=-28, r=2, dwDestX=-28, dwDestY=299 - DDERR_INVALIDRECT - Rectangle provided was invalid. --------------------
Top-side-crash:
FastBltNoTrans() - err ret=88760096, pDescription=Dirty Rect Fast Blt, rSrcRect: t=-1, b=39, l=341, r=371, dwDestX=341, dwDestY=-1 - DDERR_INVALIDRECT - Rectangle provided was invalid. --------------------
To be more precise, on the bottom and right side of the game window, the captured Windows mouse cursor cannot "leave" the window. If I go past the border, the Windows mouse cursor remains trapped at the edge of the window while the linux X mouse cursor re-appears for me to interact with other X applications.
This looks impressive, and seems to work great for the bottom and right border.
But, the same is not true with either the left border or top borders. The mouse is not limited by the window border, and if I go too far the game immediately crashes.