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
1 changed file:
Changes:
... | ... | @@ -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);
|