Adjust window settings