From f0d1bf5f4e0e42b4406305049867579c145fa70b Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 8 Nov 2011 18:16:55 +0100 Subject: [PATCH] user32/tests: Flush events before the key flags test. --- dlls/user32/tests/msg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 90b518d86f9..03761620d76 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -13024,6 +13024,7 @@ static void test_keyflags(void) test_window = CreateWindowEx(0, "TestWindowClass", NULL, WS_OVERLAPPEDWINDOW | WS_VISIBLE, 100, 100, 200, 200, 0, 0, 0, NULL); + flush_events(); flush_sequence(); /* keyup without a keydown */ -- 2.11.4.GIT