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

Alexandre Julliard julliard at wine.codeweavers.com
Tue Sep 11 07:28:40 CDT 2007


Module: wine
Branch: master
Commit: 6444f574c7ca0223c684810748b913819ef62b7c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6444f574c7ca0223c684810748b913819ef62b7c

Author: Vitaliy Margolen <wine-patches at kievinfo.com>
Date:   Thu Sep  6 09:01:27 2007 -0600

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

---

 dlls/winex11.drv/mouse.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c
index febd1e3..f0be019 100644
--- a/dlls/winex11.drv/mouse.c
+++ b/dlls/winex11.drv/mouse.c
@@ -283,9 +283,6 @@ void X11DRV_send_mouse_input( HWND hwnd, DWORD flags, DWORD x, DWORD y,
         {
             pt.x = x;
             pt.y = y;
-            wine_tsx11_lock();
-            if (cursor_pos.x == x && cursor_pos.y == y) flags &= ~MOUSEEVENTF_MOVE;
-            wine_tsx11_unlock();
         }
     }
     else if (flags & MOUSEEVENTF_MOVE)




More information about the wine-cvs mailing list