Rafał Harabień rafalh1992@o2.pl writes:
Issue was caused by TlsGetValue always resetting error to ERROR_SUCCESS. This change fixes GetCursorPos resetting last-error randomly.
Signed-off-by: Rafał Harabień rafalh1992@o2.pl
This will also require fixes in other places apparently:
../../../tools/runtest -q -P wine -T ../../.. -M user32.dll -p user32_test.exe.so dialog && touch dialog.ok dialog.c:1277: Test failed: got 1411 Makefile:346: recipe for target 'dialog.ok' failed make[1]: *** [dialog.ok] Error 1 ../../../tools/runtest -q -P wine -T ../../.. -M user32.dll -p user32_test.exe.so menu && touch menu.ok menu.c:3669: Tests skipped: interactive alignment tests. menu.c:2356: Tests skipped: test 27: failed to send input menu.c:3417: Test failed: TrackPopupMenu error got 5 expected 0 or 1401 menu.c:3417: Test failed: TrackPopupMenuEx error got 5 expected 0 or 1401 Makefile:466: recipe for target 'menu.ok' failed make[1]: *** [menu.ok] Error 2