Rémi Bernon : dinput/tests: Avoid calling UnloadKeyboardLayout.
Module: wine Branch: master Commit: e98388b6a09f2115d35aa340d4a57fdc8bc5680e URL: https://gitlab.winehq.org/wine/wine/-/commit/e98388b6a09f2115d35aa340d4a57fd... Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Fri Dec 15 16:01:29 2023 +0100 dinput/tests: Avoid calling UnloadKeyboardLayout. This seems to later mess up with the preload keyboard list and GetKeyboardLayoutNameW. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51478 --- dlls/dinput/tests/device8.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/dinput/tests/device8.c b/dlls/dinput/tests/device8.c index 1d53d35a93b..5d4c2bb4366 100644 --- a/dlls/dinput/tests/device8.c +++ b/dlls/dinput/tests/device8.c @@ -1707,7 +1707,6 @@ static void test_dik_codes( IDirectInputDevice8W *device, HANDLE event, HWND hwn skip_key_tests: ActivateKeyboardLayout( old_hkl, 0 ); - UnloadKeyboardLayout( hkl ); winetest_pop_context(); } @@ -2253,7 +2252,6 @@ static void test_sys_keyboard( DWORD version ) skip_key_tests: ActivateKeyboardLayout( old_hkl, 0 ); - UnloadKeyboardLayout( hkl ); test_dik_codes( device, event, hwnd, version );
participants (1)
-
Alexandre Julliard