dinput: Ensure X11 input events are forwarded to wineserver even without message loop.

Alexandre Julliard julliard at winehq.org
Wed Nov 4 09:05:11 CST 2015


Sebastian Lackner <sebastian at fds-team.de> writes:

> This commit basically reverts b22ff8018aca7c365e505f1db7732f7050ae259b.
>
> Windows does not do that, but our current implementation of winex11
> requires periodic event polling to forward events to the wineserver.
>
> Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
> Signed-off-by: Michael Müller <michael at fds-team.de>
> ---
>
> NOTES:
>
>   - Breaking the dinput tests is harmless here, because they only work by
>     "pure accident". I'll add more tests later to show this.

Actually they don't fail here:

../../../tools/runtest -q -P wine -T ../../.. -M dinput.dll -p dinput_test.exe.so mouse && touch mouse.ok
mouse.c:164: Test succeeded inside todo block: GetDeviceData() failed: 00000000 cnt:1
mouse.c:176: Test succeeded inside todo block: GetDeviceData() failed: 00000000 cnt:1
make: *** [mouse.ok] Error 2

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list