From: Rémi Bernon rbernon@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;