diff --git a/widget/src/cocoa/nsChildView.mm b/widget/src/cocoa/nsChildView.mm index 609b6fd88ce..0ddc579b2dc 100644 --- a/widget/src/cocoa/nsChildView.mm +++ b/widget/src/cocoa/nsChildView.mm @@ -3696,7 +3696,7 @@ static PRBool IsSpecialGeckoKey(UInt32 macKeyCode) if (outGeckoEvent->message == NS_KEY_PRESS && !outGeckoEvent->isMeta && outGeckoEvent->keyCode != NS_VK_PAGE_UP && outGeckoEvent->keyCode != NS_VK_PAGE_DOWN) - ::ObscureCursor(); + [NSCursor setHiddenUntilMouseMoves:YES]; }