Window states patch.