Dmitry Timoshkov : user/tests: Flush events before running mouse tests.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Oct 2 05:40:53 CDT 2006


Module: wine
Branch: master
Commit: 8588562f0d23b84bdc1eeebfe3b6c6dfaf265bc1
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=8588562f0d23b84bdc1eeebfe3b6c6dfaf265bc1

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Sun Oct  1 23:20:16 2006 +0900

user/tests: Flush events before running mouse tests.

---

 dlls/user/tests/win.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/user/tests/win.c b/dlls/user/tests/win.c
index 42c6ed5..7ad9aea 100644
--- a/dlls/user/tests/win.c
+++ b/dlls/user/tests/win.c
@@ -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);




More information about the wine-cvs mailing list