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