[PATCH 0/1] MR6699: user32/tests: Flush events after test_SetForegroundWindow.
Making sure there's no pending X11 event to be processed that would cause spurious failures with later tests. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6699
From: Rémi Bernon <rbernon(a)codeweavers.com> Making sure there's no pending X11 event to be processed that would cause spurious failures with later tests. --- dlls/user32/tests/win.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c index 7d16f0a6dc1..041b0056be8 100644 --- a/dlls/user32/tests/win.c +++ b/dlls/user32/tests/win.c @@ -4092,6 +4092,8 @@ static void test_SetForegroundWindow(HWND hwnd) CloseHandle(thread_params.window_created); CloseHandle(thread); DestroyWindow(hwnd2); + + flush_events(TRUE); } static WNDPROC old_button_proc; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6699
participants (1)
-
Rémi Bernon