Tweaked the delays for the auto-hiding of the mouse pointer and the interface

in full-screen mode.

git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@502 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
stippi 2010-05-18 19:13:58 +00:00 committed by Alexandre Deckner
parent 37876e4b33
commit 1f009b1e11

View File

@ -1904,7 +1904,7 @@ BrowserWindow::_CheckAutoHideInterface()
_ShowInterface(true);
else if (fNavigationGroup->IsVisible()
&& fLastMousePos.y > fNavigationGroup->Frame().bottom
&& system_time() - fLastMouseMovedTime > 3000000) {
&& system_time() - fLastMouseMovedTime > 1000000) {
// NOTE: Do not re-use navigationGroupBottom in the above
// check, since we only want to hide the interface when it is visible.
_ShowInterface(false);