bpo-33924: Add missed mac-specific 'windows' to 'window' changes (GH-7920)

These should have been included in PR 7836.
1 file changed