This command can be found at
-> .This option toggles the yellow visual dotted line that denotes a layer within the image window. It is merged with the image border when the layer has the same size as the image window and is actually visible only when the layer is smaller than this window.
Default is set in the Image Window/Appearence.