From: "Rémi Bernon" Subject: [PATCH v2 0/8] Fix spurious rawinput mouse motion. Message-Id: <20191114212904.32226-1-rbernon@codeweavers.com> Date: Thu, 14 Nov 2019 22:28:56 +0100 v2: * Add some tests to exhibit broken behavior, then fix it. * Add some tests for foreground/background behavior, and fixed the assumptions made about it. * Removed the dinput8 patches for now, they can be added later. * Renamed the SEND_HWMSG_* flags. Rémi Bernon (8): user32/tests: Add rawinput test for ClipCursor interactions. user32/tests: Add rawinput test for cross-thread interactions. user32/tests: Add rawinput test for cross-process interactions. server: Add send_hardware_message flags for rawinput translation. server: Broadcast rawinput message if request flag is SEND_HWMSG_RAWINPUT. user32: Add __wine_send_input flags to hint raw input translation. winex11.drv: Advertise XInput2 version 2.1 support. winex11.drv: Listen to RawMotion and RawButton* events in the desktop thread. dlls/user32/input.c | 8 +- dlls/user32/tests/input.c | 335 ++++++++++++++++++++++++++++++++ dlls/user32/user32.spec | 2 +- dlls/wineandroid.drv/keyboard.c | 2 +- dlls/wineandroid.drv/window.c | 4 +- dlls/winemac.drv/ime.c | 4 +- dlls/winemac.drv/keyboard.c | 2 +- dlls/winemac.drv/mouse.c | 2 +- dlls/winex11.drv/event.c | 10 +- dlls/winex11.drv/keyboard.c | 2 +- dlls/winex11.drv/mouse.c | 128 +++++++----- dlls/winex11.drv/x11drv.h | 6 +- dlls/winex11.drv/x11drv_main.c | 4 + include/winuser.h | 2 +- server/protocol.def | 2 + server/queue.c | 110 ++++++++--- 16 files changed, 528 insertions(+), 95 deletions(-) -- 2.24.0.rc2