Test case for #948: focus event isn't sent to 1st window after window with new-instance is opened
Merge pull request #954 from kingFighter/window

Test case for #948: