Zebediah Figura (@zfigura) commented about dlls/d3d9/tests/device.c:
} flush_events();
if (!(tests[i].create_flags & CREATE_DEVICE_NOWINDOWCHANGES))
{
/* The window manager on Gitlab CI (FVWM2) insists on restoring the device window for some
* reason. In this case we might not receive WM_WINDOWPOSCHANGING on the device window
* because nothing is being changed on focus gain. Don't bother checking for messages in
* this case - depending on FVWM2's mood (and most likely the location of the mouse pointer,
* thanks to focus follows mouse) we may be activated or deactivated one or more times.
*
* Wine's internal status is being updated while processing messages (the flush_events above). */
ret = IsIconic(device_window);
todo_wine_if (!ret)
ok(ret, "Expected the device window to still be iconic.\n");
}
Can we minimize the window ourselves to get it into a consistent state, instead of skipping tests?