/Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h
Returns whether or not the viewport and window size should be linked together. If false, the two can be independent in cases where it is needed (e.g. mirror mode window drawing)
bool IsViewportSizeDrivenByWindow() const