user/tests: Flush events before running the keyboard event test.

This commit is contained in:
Alexandre Julliard 2006-03-31 12:51:54 +02:00
parent 5fd23798ff
commit 510a6f70a8
1 changed files with 1 additions and 0 deletions

View File

@ -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());