richard pushed to branch tor-browser-115.12.0esr-13.5-1 at The Tor Project / Applications / Tor Browser

Commits:

1 changed file:

Changes:

  • xpfe/appshell/AppWindow.cpp
    ... ... @@ -3025,6 +3025,9 @@ void AppWindow::FullscreenChanged(bool aInFullscreen) {
    3025 3025
     
    
    3026 3026
     void AppWindow::FinishFullscreenChange(bool aInFullscreen) {
    
    3027 3027
       mFullscreenChangeState = FullscreenChangeState::NotChanging;
    
    3028
    +  if (nsXULPopupManager* pm = nsXULPopupManager::GetInstance()) {
    
    3029
    +    pm->Rollup({});
    
    3030
    +  }
    
    3028 3031
       if (mDocShell) {
    
    3029 3032
         if (nsCOMPtr<nsPIDOMWindowOuter> ourWindow = mDocShell->GetWindow()) {
    
    3030 3033
           ourWindow->FinishFullscreenChange(aInFullscreen);