Automatically shape window to selected screen.