mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
user/tests: Flush events before running mouse tests.
This commit is contained in:
parent
0d5bcdaeda
commit
8588562f0d
@ -2524,6 +2524,7 @@ static void test_mouse_input(HWND hwnd)
|
||||
ShowWindow(popup, SW_SHOW);
|
||||
|
||||
while (PeekMessageA(&msg, 0, 0, 0, PM_REMOVE)) DispatchMessageA(&msg);
|
||||
flush_events();
|
||||
|
||||
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
|
||||
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user