In the case of wooden windows, sealing is always carried out between the frame and the window. EGOSILICON, among others, is suitable here.
For windows in listed buildings, the glazing rebate can be filled with EGO putty