http://bugs.winehq.org/show_bug.cgi?id=6971
--- Comment #160 from Brian Vuyk brian@brianvuyk.com 2008-08-25 16:30:19 --- (In reply to comment #159)
Created an attachment (id=15638)
--> (http://bugs.winehq.org/attachment.cgi?id=15638) [details]
Proposed mouse improvement for 'stuck menu problem
I meant to include this as a comment to that attachment...
Patch is made against the latest git commit.
I've taken Joe McKort's idea (http://bugs.winehq.org/attachment.cgi?id=11303) and added it into the new mouse code.
With this patch, instead of warping back to center on every mouse movement when mouse warp is forced, it only warps when it gets within 2 pixels of the edge of the window.
I've tested this with World War II Online, and it works well - the first person view is flawless, and the menu system is navigable. I imagine it will work with Crysis and other games currently having this problem.
On the down side, if your mouse pointer hits the edge of the screen in the menu system, it will still warp to center. So it's an improvement, but it isn't flawless yet.
Comments?