user/tests: Flush events before running the keyboard event test.
This commit is contained in:
parent
5fd23798ff
commit
510a6f70a8
|
@ -2314,6 +2314,7 @@ static void test_keyboard_input(HWND hwnd)
|
||||||
|
|
||||||
ShowWindow(hwnd, SW_SHOW);
|
ShowWindow(hwnd, SW_SHOW);
|
||||||
UpdateWindow(hwnd);
|
UpdateWindow(hwnd);
|
||||||
|
flush_events();
|
||||||
|
|
||||||
ok(GetActiveWindow() == hwnd, "wrong active window %p\n", GetActiveWindow());
|
ok(GetActiveWindow() == hwnd, "wrong active window %p\n", GetActiveWindow());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue