[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][base-browser-115.12.0esr-13.5-1] Bug 1828259 - Close XUL popup when entering/exiting fullscreen; r=smaug



Title: GitLab

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

Commits:

  • 7e85a0ee
    by Edgar Chen at 2024-06-07T22:21:07+00:00
    Bug 1828259 - Close XUL popup when entering/exiting fullscreen; r=smaug
    
    Differential Revision: https://phabricator.services.mozilla.com/D209355

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);
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits