ibar - go back to a traditional del timer/add dimer and no reset model

for mousover menu show... as per the subject
devs/bu5hm4n/pointer-fix
Carsten Haitzler 11 months ago
parent 28b0ce28ac
commit 356d2a6428
  1. 6
      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);
}
}

Loading…
Cancel
Save