Write queue after connect windows

Why would we set it all then?

I don't get it.