winex11drv: Ignore mouse move events when position did not change only when other events are present.
This commit is contained in:
parent
36db3630ec
commit
82b1ba1f95
|
@ -283,6 +283,11 @@ 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 | MOUSEEVENTF_ABSOLUTE)))
|
||||
flags &= ~MOUSEEVENTF_MOVE;
|
||||
wine_tsx11_unlock();
|
||||
}
|
||||
}
|
||||
else if (flags & MOUSEEVENTF_MOVE)
|
||||
|
|
Loading…
Reference in New Issue