adjusting window frame settings