Proper window deploy entails a cast flashing plan to manage water
https://cruzehlu943.quantlynix.com/posts/double-hung-vs-casement-which-window-style-is-best
Proper window setting up contains a solid flashing plan to manipulate water. Correct layering directs moisture outward and protects the sheathing and framing.