[PATCH v7 01/10] d3d9/tests: Flush events after minimizing and restoring focus window.