diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2021-10-27 18:02:50 +0100 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2021-10-27 18:02:50 +0100 |
commit | 356d2a6428811c46ac256b06933a1eab135b9a80 (patch) | |
tree | 5d19f980ddd17567d4a7cb621909fdd2caa04681 | |
parent | 28b0ce28ac3085d1c18f7165e5003b73654fe3c1 (diff) | |
download | enlightenment-356d2a6428811c46ac256b06933a1eab135b9a80.tar.gz |
ibar - go back to a traditional del timer/add dimer and no reset model
for mousover menu show... as per the subject
-rw-r--r-- | src/modules/ibar/e_mod_main.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index e8d443c2a2..88d6dae246 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -1517,10 +1517,8 @@ _ibar_cb_icon_mouse_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UN E_FREE_FUNC(ic->hide_timer, ecore_timer_del); if (!ic->ibar->inst->ci->dont_icon_menu_mouseover) { - if (ic->show_timer) - ecore_timer_loop_reset(ic->show_timer); - else - ic->show_timer = ecore_timer_loop_add(0.2, _ibar_icon_mouse_in_timer, ic); + E_FREE_FUNC(ic->show_timer, ecore_timer_del); + ic->show_timer = ecore_timer_loop_add(0.2, _ibar_icon_mouse_in_timer, ic); } } |