[tbb-commits] [tor-browser] 57/311: Bug 1752047: Ensure that Voice Over continues to function correctly for elements with tooltips. r=mstange, a=RyanVM

gitolite role git at cupani.torproject.org
Tue Apr 26 15:27:37 UTC 2022


This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch geckoview-99.0.1-11.0-1
in repository tor-browser.

commit 0a0192a83fa6dcfe7956b0d3c0dc3e4ca969096f
Author: Stephen A Pohl <spohl.mozilla.bugs at gmail.com>
AuthorDate: Wed Feb 2 00:52:52 2022 +0000

    Bug 1752047: Ensure that Voice Over continues to function correctly for elements with tooltips. r=mstange, a=RyanVM
    
    Differential Revision: https://phabricator.services.mozilla.com/D137585
---
 widget/cocoa/nsCocoaWindow.mm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/widget/cocoa/nsCocoaWindow.mm b/widget/cocoa/nsCocoaWindow.mm
index 5cb92c4fd6cbe..56dbda8983896 100644
--- a/widget/cocoa/nsCocoaWindow.mm
+++ b/widget/cocoa/nsCocoaWindow.mm
@@ -408,7 +408,7 @@ nsresult nsCocoaWindow::CreateNativeWindow(const NSRect& aRect, nsBorderStyle aB
           features |= NSWindowStyleMaskClosable;
         }
       }
-      if (aBorderStyle & eBorderStyle_minimize) {
+      if (mPopupType != ePopupTypeTooltip && aBorderStyle & eBorderStyle_minimize) {
         features |= NSWindowStyleMaskMiniaturizable;
       }
       break;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list