From 510a6f70a89ff090c4128a0eaa50bc6757803f0c Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 31 Mar 2006 12:51:54 +0200 Subject: [PATCH] user/tests: Flush events before running the keyboard event test. --- dlls/user/tests/win.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/user/tests/win.c b/dlls/user/tests/win.c index 326a27914d8..a4ecbe58d38 100644 --- a/dlls/user/tests/win.c +++ b/dlls/user/tests/win.c @@ -2314,6 +2314,7 @@ static void test_keyboard_input(HWND hwnd) ShowWindow(hwnd, SW_SHOW); UpdateWindow(hwnd); + flush_events(); ok(GetActiveWindow() == hwnd, "wrong active window %p\n", GetActiveWindow());