dlls/user/tests/win.c fix

Dmitry Timoshkov dmitry at codeweavers.com
Sat Sep 30 02:16:38 CDT 2006


"Juan Lang" <juan_lang at yahoo.com> wrote:

> The attached patch (sorry, crappy mailer) fixes the win.c failure I was
> seeing.  Is it correct?

No it's not correct. Does the attached patch fix the failure?

-- 
Dmitry.
-------------- next part --------------
--- cvs/hq/wine/dlls/user/tests/win.c	2006-08-05 15:05:54.000000000 +0900
+++ wine/dlls/user/tests/win.c	2006-09-30 16:01:57.000000000 +0900
@@ -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-devel mailing list