[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: Generate a WM_MOUSEMOVE event when warping the mouse
From:       Vitaliy Margolen <wine-devel () kievinfo ! com>
Date:       2009-10-31 17:44:11
Message-ID: 4AEC776B.2030602 () kievinfo ! com
[Download RAW message or body]

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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic