[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-115.12.0esr-13.5-1] Bug 1828259 - Close XUL popup when entering/exiting fullscreen; r=smaug
richard (@richard)
git at gitlab.torproject.org
Fri Jun 7 22:03:51 UTC 2024
richard pushed to branch tor-browser-115.12.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
020b1edd by Edgar Chen at 2024-06-07T22:01:05+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/tor-browser/-/commit/020b1edd2f748059d71ba331db7ab0f6497f124b
--
This project does not include diff previews in email notifications.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/020b1edd2f748059d71ba331db7ab0f6497f124b
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20240607/3154e762/attachment.htm>
More information about the tbb-commits
mailing list