Modify window settings.