If it is a leak through some caulking or rubber seal, I would first clean as best possible and then apply Cap't Tullys Creeping Crack Cure. It usually lasts many years. I have even put it into mitered corners on the wood windows of my trawler with success. Of course, it will not help where the window needs to slide.
Bobk