summaryrefslogtreecommitdiff
path: root/dom/base/nsWindowRoot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/nsWindowRoot.cpp')
-rw-r--r--dom/base/nsWindowRoot.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/dom/base/nsWindowRoot.cpp b/dom/base/nsWindowRoot.cpp
index 38348b46c2..509420f76d 100644
--- a/dom/base/nsWindowRoot.cpp
+++ b/dom/base/nsWindowRoot.cpp
@@ -34,8 +34,14 @@ nsWindowRoot::nsWindowRoot(nsPIDOMWindowOuter* aWindow)
mWindow = aWindow;
MOZ_ASSERT(mWindow->IsOuterWindow());
+ // Keyboard indicators are not shown on Mac by default.
+#if defined(XP_MACOSX)
+ mShowAccelerators = false;
+ mShowFocusRings = false;
+#else
mShowAccelerators = true;
mShowFocusRings = true;
+#endif
}
nsWindowRoot::~nsWindowRoot()