winex11drv: Don't ignore mouse move events even when position did not change.

Vitaliy Margolen wine-patches at
Thu Sep 6 10:01:27 CDT 2007

Spurious mouse move events are better then not sending events for
SetCursorPos() at all. Fixes bug 9549.

This is a partial reversal of b13681797aa27f42f79f50c980d5b98151f3bbcc.
The problem I was trying to address with reverted change was purely 
"cosmetic" -  sending mouse move events when cursor position did not change.

Doing some more testing I've found different behavior of win2k, winxp and 
VMware. Some did send these extra events, some did not. Unfortunately this 
is something that is impossible to make an automated test for - this is the 
real HW mouse events we are talking about, not generated events.

  dlls/winex11.drv/mouse.c |    3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d011ae13e88022725f8386b73ad5f7bed2f8ca2f.diff
Type: text/x-patch
Size: 516 bytes
Desc: not available
Url :

More information about the wine-patches mailing list