Alexandre Julliard : user/tests:
Flush events before running the keyboard event test.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Mar 31 05:08:46 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 510a6f70a89ff090c4128a0eaa50bc6757803f0c
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=510a6f70a89ff090c4128a0eaa50bc6757803f0c
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Mar 31 12:51:54 2006 +0200
user/tests: Flush events before running the keyboard event test.
---
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 326a279..a4ecbe5 100644
--- a/dlls/user/tests/win.c
+++ b/dlls/user/tests/win.c
@@ -2314,6 +2314,7 @@ static void test_keyboard_input(HWND hwn
ShowWindow(hwnd, SW_SHOW);
UpdateWindow(hwnd);
+ flush_events();
ok(GetActiveWindow() == hwnd, "wrong active window %p\n", GetActiveWindow());
More information about the wine-cvs
mailing list