[PATCH 2/3] msctf/tests: Fix tests on Windows 8 and 10.

Huw Davies huw at codeweavers.com
Tue Jan 17 05:41:21 CST 2017


Signed-off-by: Huw Davies <huw at codeweavers.com>
---
 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);
-- 
2.10.2




More information about the wine-patches mailing list