If you have a window leaking, the only fix is to remove the window, clean the area, apply a layer of butyl putty tape, reinstall the window. Once it is secured and the excess putty is removed, apply a bead of Dicor for verticle surfaces around three sides of the window.
Both the Dicor and butyl putty tape can be found at any RV parts house.