[PATCH v7 4/6] d3d8/tests: Test for window changes when it's not foreground.