Now when Daniel knew that the document was signed, he entered his house (now in his roof chamber he had windows open toward Jerusalem); and he continued kneeling on his knees three times a day, praying and giving thanks before his God, as he had been doing previously. – [Dan 6:10 NASB]
Daniel had his windows open toward Jerusalem, because the return to Jerusalem was God’s desire for His People in exile. This is why God kept Daniel alive in the lion’s den: So that Daniel could continue praying according to God’s will. Daniel was faithful in praying for God’s eternal purpose, in as much as he understood it.
Man’s prayer is just to pave the way for God’s move to go on. – Witness Lee
 And I saw the holy city, new Jerusalem, coming down out of heaven from God, made ready as a bride adorned for her husband. – [Rev 21:2 NASB]
At the end of Revelation, the ultimate desire of God is revealed: New Jerusalem. This isn’t a physical city but a spiritual city. It is the mingling of God and man. I am not saying to open your window when you pray, but that God’s desire for this Great City should always guide your prayers. God is waiting for His People to join with Him through prayer. He will delay the accomplishment of His will until His People pray. He has revealed to us His desire for the Bride City so that we may prayer for it to be prepared.