mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 18:15:43 +00:00
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);
|
||||
UpdateWindow(hwnd);
|
||||
flush_events();
|
||||
|
||||
ok(GetActiveWindow() == hwnd, "wrong active window %p\n", GetActiveWindow());
|
||||
|
||||
|
|
Loading…
Reference in a new issue