void FSlateNotificationManager::ForceNotificationsInFront( const TSharedRef<SWindow> InWindow ) { // check to see if this is a re-entrant call from one of our windows for (const auto& RegionList : RegionalLists) { for (auto& Notification : RegionList.Notifications) { TSharedPtr<SWindow> PinnedWindow = Notification->ParentWindowPtr.Pin(); if( PinnedWindow.IsValid() ) { if( InWindow == PinnedWindow ) { return; } } } } // now bring all of our windows back to the front for (const auto& RegionList : RegionalLists) { for (auto& Notification : RegionList.Notifications) { TSharedPtr<SWindow> PinnedWindow = Notification->ParentWindowPtr.Pin(); if( PinnedWindow.IsValid() && !FSlateApplication::Get().GetActiveModalWindow().IsValid() ) { PinnedWindow->BringToFront(); } } } }