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

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



Title: GitLab

ma1 pushed to branch tor-browser-115.11.0esr-13.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 8fc6e0c6
    by Edgar Chen at 2024-06-10T20:15:15+02: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
    ... ... @@ -3018,6 +3018,9 @@ void AppWindow::FullscreenChanged(bool aInFullscreen) {
    3018 3018
     
    
    3019 3019
     void AppWindow::FinishFullscreenChange(bool aInFullscreen) {
    
    3020 3020
       mFullscreenChangeState = FullscreenChangeState::NotChanging;
    
    3021
    +  if (nsXULPopupManager* pm = nsXULPopupManager::GetInstance()) {
    
    3022
    +    pm->Rollup({});
    
    3023
    +  }
    
    3021 3024
       if (mDocShell) {
    
    3022 3025
         if (nsCOMPtr<nsPIDOMWindowOuter> ourWindow = mDocShell->GetWindow()) {
    
    3023 3026
           ourWindow->FinishFullscreenChange(aInFullscreen);
    

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