Bug 326035 - Page Up and Page Down do not hide cursor. Patch by Markus Magnuson <markus.magnuson@gmail.com>, r=josh, sr=roc, a/1.9=schrep

This commit is contained in:
alqahira@ardisson.org 2008-01-05 15:33:53 -08:00
parent cc717ccd9a
commit 3ea78da253

View File

@ -3493,8 +3493,7 @@ static PRBool IsSpecialGeckoKey(UInt32 macKeyCode)
outGeckoEvent->charCode = 0;
}
if (outGeckoEvent->message == NS_KEY_PRESS && !outGeckoEvent->isMeta && outGeckoEvent->keyCode != NS_VK_PAGE_UP &&
outGeckoEvent->keyCode != NS_VK_PAGE_DOWN)
if (outGeckoEvent->message == NS_KEY_PRESS && !outGeckoEvent->isMeta)
[NSCursor setHiddenUntilMouseMoves:YES];
}