[haiku-webkit-commits] r502 - in webkit/trunk/WebKit/haiku: API WebPositive

  • From: webkit@xxxxxxxxxxxxxxx
  • To: haiku-webkit-commits@xxxxxxxxxxxxx
  • Date: Tue, 18 May 2010 19:13:58 +0000

Author: stippi
Date: Tue May 18 19:13:58 2010
New Revision: 502
URL: http://mmlr.dyndns.org/changeset/502

Log:
Tweaked the delays for the auto-hiding of the mouse pointer and the interface
in full-screen mode.

Modified:
   webkit/trunk/WebKit/haiku/API/WebView.cpp
   webkit/trunk/WebKit/haiku/WebPositive/BrowserWindow.cpp

Modified: webkit/trunk/WebKit/haiku/API/WebView.cpp
==============================================================================
--- webkit/trunk/WebKit/haiku/API/WebView.cpp   Tue May 18 18:59:34 2010        
(r501)
+++ webkit/trunk/WebKit/haiku/API/WebView.cpp   Tue May 18 19:13:58 2010        
(r502)
@@ -248,7 +248,7 @@
                return;
 
        if (Bounds().Contains(fLastMousePos)
-               && system_time() - fLastMouseMovedTime > 2000000) {
+               && system_time() - fLastMouseMovedTime > 800000) {
                be_app->ObscureCursor();
        }
 }

Modified: webkit/trunk/WebKit/haiku/WebPositive/BrowserWindow.cpp
==============================================================================
--- webkit/trunk/WebKit/haiku/WebPositive/BrowserWindow.cpp     Tue May 18 
18:59:34 2010        (r501)
+++ webkit/trunk/WebKit/haiku/WebPositive/BrowserWindow.cpp     Tue May 18 
19:13:58 2010        (r502)
@@ -1904,7 +1904,7 @@
                _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);

Other related posts:

  • » [haiku-webkit-commits] r502 - in webkit/trunk/WebKit/haiku: API WebPositive - webkit