discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=312a53e44aea735e9e81c105d6a0f1160202986e

commit 312a53e44aea735e9e81c105d6a0f1160202986e
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Jan 17 18:21:13 2014 -0500

    further reduce ibar menu hide delay, make delay even shorter when leaving 
menu
    
    it seems that I always have this thing stuck open for a long period of time 
after moving my mouse out through it. I suspect that most times when a user 
moves the cursor out of the menu and does not immediately move it back or to 
the icon, the menu probably shouldn't hang around. likewise, when it moves out 
of the icon, maybe we give a little extra time to reach the menu, but not so 
much that it hangs around if the icon was exited through the side
---
 src/modules/ibar/e_mod_main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c
index ae4f621..8b0d6a4 100644
--- a/src/modules/ibar/e_mod_main.c
+++ b/src/modules/ibar/e_mod_main.c
@@ -1121,7 +1121,7 @@ _ibar_icon_menu_mouse_out(void *data, Evas *e 
EINA_UNUSED, Evas_Object *obj EINA
    if (ic->hide_timer)
      ecore_timer_reset(ic->hide_timer);
    else
-     ic->hide_timer = ecore_timer_add(1.0, _ibar_cb_out_hide_delay, ic);
+     ic->hide_timer = ecore_timer_add(0.5, _ibar_cb_out_hide_delay, ic);
 }
 
 static void
@@ -1318,7 +1318,7 @@ _ibar_cb_icon_mouse_out(void *data, Evas *e __UNUSED__, 
Evas_Object *obj __UNUSE
         if (ic->hide_timer)
           ecore_timer_reset(ic->hide_timer);
         else
-          ic->hide_timer = ecore_timer_add(1.0, _ibar_cb_out_hide_delay, ic);
+          ic->hide_timer = ecore_timer_add(0.75, _ibar_cb_out_hide_delay, ic);
      }
 }
 

-- 


Reply via email to