From 4fb0668c71bae9ac9824be7c49fdedabb6de781d Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Mon, 20 Jun 2016 13:37:56 +0900 Subject: [PATCH] edje: Fix double clicks This fixes T3895 --- src/lib/edje/edje_callbacks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/edje/edje_callbacks.c b/src/lib/edje/edje_callbacks.c index 79a27d0..f50af80 100644 --- a/src/lib/edje/edje_callbacks.c +++ b/src/lib/edje/edje_callbacks.c @@ -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); -- 2.7.4