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


Commits:
d82b4689 by Edgar Chen at 2024-06-07T22:22:01+00:00
Bug 1828259 - Close XUL popup when entering/exiting fullscreen; r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D209355
- - - - -


1 changed file:

- xpfe/appshell/AppWindow.cpp


Changes:

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



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/d82b46891b50653af2d6f845807e2d0b7648d1fd

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/d82b46891b50653af2d6f845807e2d0b7648d1fd
You're receiving this email because of your account on gitlab.torproject.org.


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

Reply via email to