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