Module: wine Branch: master Commit: 5fb2267a78a79d7afafae0d1f6cfe9a9ec973a76 URL: http://source.winehq.org/git/wine.git/?a=commit;h=5fb2267a78a79d7afafae0d1f6...
Author: Huw Davies huw@codeweavers.com Date: Tue Jan 17 11:41:21 2017 +0000
msctf/tests: Fix tests on Windows 8 and 10.
Signed-off-by: Huw Davies huw@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/msctf/tests/inputprocessor.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/msctf/tests/inputprocessor.c b/dlls/msctf/tests/inputprocessor.c index 5b386ad..e44eafd 100644 --- a/dlls/msctf/tests/inputprocessor.c +++ b/dlls/msctf/tests/inputprocessor.c @@ -2211,12 +2211,14 @@ static void test_AssociateFocus(void) test_CurrentFocus = FOCUS_SAVE; test_PrevFocus = FOCUS_SAVE; test_OnSetFocus = SINK_SAVE; + test_ShouldDeactivate = TRUE; /* win 8/10 */ ShowWindow(wnd2,SW_SHOWNORMAL); SetFocus(wnd2); sink_check_saved(&test_OnSetFocus,dm1,dm2,"OnSetFocus"); test_CurrentFocus = FOCUS_IGNORE; /* occasional wine race */ test_PrevFocus = FOCUS_IGNORE; /* occasional wine race */ test_OnSetFocus = SINK_IGNORE; /* occasional wine race */ + test_ShouldDeactivate = FALSE; processPendingMessages();
ShowWindow(wnd3,SW_SHOWNORMAL);