https://bugs.winehq.org/show_bug.cgi?id=47945
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Technically not a true regression.
Running it locally, its an intermittent error.
The patch only added checks to functions prior the current failure to provide insight on the actual failure of mouse.c:178: Test failed: GetDeviceData() failed: 00000000 cnt:0
The basic test case
Create Window 1 and assign dinput
Create Windows 2 (Gains focus, which removes dinput from windows 1, as expected) Set Focus back to windows 1 Window 1 - Acquire dinput (passes)
Run mouse_event(MOVE).
dinput Unacquire (Fails - Focus has been set to Window 2).
Hiding or Destroying the window prior to Unacquire test, allows all tests to pass.
The failure only occurs when the mouse goes over the second window.
Why the mouse movement calls, are causing the second window to get focus is the reason of the failure.