Generate a WM_MOUSEMOVE event when warping the mouse

Vitaliy Margolen wine-devel at kievinfo.com
Sat Oct 31 12:44:11 CDT 2009


JesusFreke wrote:
> I'll be honest, I don't know if this is the correct way to fix this issue.
> But with this patch, the mouse movement is working perfectly.
Have you tried disabling warping in dinput?

Your patch is an outright hack. It does something that is plain wrong. I do
know that area of the code really really good.

As-is calling SetCursorPos already generates WM_MOUSEMOVE (when cursor
position change comes back from X) which it shouldn't. You are adding an
additional one - which is double wrong. I guess this is the case of two
identical errors masking each-other resulting in non-error.

Vitaliy.



More information about the wine-devel mailing list