addapt window