Commit 9761191f authored by Alexandre Julliard's avatar Alexandre Julliard

d3d8/tests: Make sure that the window has focus before testing loss of focus.

parent 971ef0d3
......@@ -3305,6 +3305,7 @@ static void test_wndproc(void)
skip("Failed to create a D3D device, skipping tests.\n");
goto done;
}
SetForegroundWindow(focus_window); /* make sure that the window has focus */
filter_messages = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment