http://bugs.winehq.org/show_bug.cgi?id=1410
------- Additional Comments From vitaliy@kievinfo.com 2006-23-07 20:50 ------- This works but this is yet one more hack which doesn't fix anything.
The whole MOUSE_HACK thing is invalid. It doesn't account for lost warping events. So touching it doesn't really make any sense at all. If anything it needs to go away. Especially it make it impossible to fix 2) bellow.
Looking at several games that have mouse problems they all different: 1. Re-centering mouse in none DISCL_EXCLUSIVE mode. 2. Games re-centering mouse themselves: a) center of the window b) arbitrary position c) immediately when they receive mouse move notification d) once in X mseconds
1) Could be fixed really easily. But it will expose more problems with 2) Currently we can handle only 2a and 2d. I sent patch to fix it for 2c But because we do not detect 2) at all, we just lucky that things work the way they do.