[PATCH] comctl32/tests: Prevent some test failures by moving the cursor away from the window.
Sven Baars
sven.wine at gmail.com
Sat Oct 5 09:23:34 CDT 2019
Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
dlls/comctl32/tests/edit.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/comctl32/tests/edit.c b/dlls/comctl32/tests/edit.c
index f454434a0c..e01d19b2ac 100644
--- a/dlls/comctl32/tests/edit.c
+++ b/dlls/comctl32/tests/edit.c
@@ -3329,6 +3329,8 @@ static void test_change_focus(void)
oldproc = (WNDPROC)SetWindowLongPtrA(hwnd, GWLP_WNDPROC, (LONG_PTR)edit_subclass_proc);
SetWindowLongPtrA(hwnd, GWLP_USERDATA, (LONG_PTR)oldproc);
+ SetCursorPos(400, 400);
+
SetFocus(parent_wnd);
flush_sequences(sequences, NUM_MSG_SEQUENCES);
SetFocus(hwnd);
--
2.17.1
More information about the wine-devel
mailing list