ecore_input_evas: fix float comparison warning.

This commit is contained in:
Cedric BAIL 2016-12-20 10:22:37 -08:00
parent 0d1c0773a0
commit 4a79542480
1 changed files with 2 additions and 1 deletions

View File

@ -220,7 +220,8 @@ _ecore_event_evas_push_mouse_button(Ecore_Event_Mouse_Button *e, Ecore_Event_Pre
//if up event not occurs from under layers of ecore
//up event is generated by ecore
if (_last_events_enable && _last_events_timeout)
if (_last_events_enable &&
!EINA_DBL_CMP(_last_events_timeout, 0))
{
if (eel->timer) ecore_timer_del(eel->timer);
eel->timer = NULL;