Huw Davies : msctf/tests: Fix tests on Windows 8 and 10.
Alexandre Julliard
julliard at winehq.org
Tue Jan 17 15:10:33 CST 2017
Module: wine
Branch: master
Commit: 5fb2267a78a79d7afafae0d1f6cfe9a9ec973a76
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5fb2267a78a79d7afafae0d1f6cfe9a9ec973a76
Author: Huw Davies <huw at 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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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);
More information about the wine-cvs
mailing list