commit 587b79aaa5c437183c5340a6f17a66e0b5a95690
parent bf4ac99b53152bbbc79226f3f7285ca79eebfbe1
Author: Josh Aas <jaas@kflag.net>
Date: Tue, 28 Oct 2025 13:42:18 +0000
Bug 1996742 - Remove unnecessary (and deprecated) call to set NSStatusItem highlightMode. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D270286
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/widget/cocoa/nsSystemStatusBarCocoa.mm b/widget/cocoa/nsSystemStatusBarCocoa.mm
@@ -45,7 +45,6 @@ nsSystemStatusBarCocoa::StatusItem::StatusItem(NativeMenuMac* aMenu)
mStatusItem = [[NSStatusBar.systemStatusBar
statusItemWithLength:NSSquareStatusItemLength] retain];
mStatusItem.menu = mMenu->NativeNSMenu();
- mStatusItem.highlightMode = YES;
// We want the status item to get its image from menu item that mMenu was
// initialized with. Icon loads are asynchronous, so we need to let the menu