edje: Fix double clicks

This fixes T3895
This commit is contained in:
Jean-Philippe Andre 2016-06-20 13:37:56 +09:00
parent 3bb26af3bf
commit 4fb0668c71
1 changed files with 2 additions and 2 deletions

View File

@ -117,9 +117,9 @@ _edje_mouse_down_signal_cb(void *data, const Eo_Event *event)
if ((!ev->event_flags) || (!ignored))
{
if (ev->event_flags & EVAS_BUTTON_TRIPLE_CLICK)
if (ev->button_flags & EVAS_BUTTON_TRIPLE_CLICK)
snprintf(buf, sizeof(buf), "mouse,down,%i,triple", ev->button);
else if (ev->event_flags & EVAS_BUTTON_DOUBLE_CLICK)
else if (ev->button_flags & EVAS_BUTTON_DOUBLE_CLICK)
snprintf(buf, sizeof(buf), "mouse,down,%i,double", ev->button);
else
snprintf(buf, sizeof(buf), "mouse,down,%i", ev->button);