http://bugs.winehq.org/show_bug.cgi?id=6971
--- Comment #173 from Toni Spets toni.spets@gmail.com 2008-09-04 13:11:37 --- (In reply to comment #172)
Finally, edge scrollers are no good under the current system as it is, if they have the mouse stuck to center or confined to the window. However, this will make it somewhat playable if they have keyboard controls to move / pan the screen as opposed to mouse only control.
It's not a perfect solution (never did I claim this), but I think it's improves this bug in that it makes apps suffering from it somewhat more playable, and will not (AFAIK) affect apps not suffering from this bug.
The bug works differently for different apps. For example in Raven Shield the mouse is confined in a small box inside the wine window and will jump off the wine screen too early and the menus are not usable because you can't click anything there. The pointer works fine in-game though.
The warping workaround thats committed is not keeping the mouse pointer at the center in Raven Shield menu, it works with this patch and is not confined in a box. However in-game it's of course kept at the center but it has it's flaws too. I can move my mouse fast enough that wine can't get the movement event and it jumps off the window but it's a minor problem, probably with your patch it would jump off the screen with lower speed if the cursor is too fast and skips the few pixels on the sides where it would be warped back.
Your improvement is probably working for some apps but it would need to be a new value for the registry key so the old "force" would work for example Raven Shield.
Vitaliy any comments on this?