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

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



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@xxxxxxxxx>
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.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits