[PATCH] user32: Only use the driver for getting the position

Alexandre Julliard julliard at winehq.org
Thu Aug 25 07:50:20 CDT 2016


Max Qian <public at maxqia.com> writes:

> This fixes bug 24951 and reverts GetCursorPos related
> changes from commits 39c4e6d, f1a3480, and 6576703.

This is going to break things that use low-level hooks, in particular
dinput, since the cursor won't be in sync with the hardware events. We
also have tests for that:

../../../tools/runtest -q -P wine -T ../../.. -M user32.dll -p user32_test.exe.so input && touch input.ok
input.c:1299: Test failed: Wrong new pos: (103,103)
input.c:1302: Test failed: Wrong new pos: (106,106)
input.c:1305: Test failed: Wrong new pos: (109,109)
input.c:1308: Test failed: Wrong new pos: (112,112)
make: *** [input.ok] Error 4

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list