/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h
Sets specified user focus to theSWidgetrepresenting the currently active game viewport
void SetUserFocusToGameViewport ( uint32 UserIndex, EFocusCause ReasonFocusIsChanging )