jypark pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=27495fe6705a5e28971cffdd8e9cfcb92868a439
commit 27495fe6705a5e28971cffdd8e9cfcb92868a439 Author: Ji-Youn Park <[email protected]> Date: Wed May 11 22:14:27 2016 +0830 edje_callbacks: fix click signal emitting even though mouse event was cancelled even though each part want to get the signal regardless of ON_HOLD, click signal should not emmitted if event flag is set to ON_HOLD. ON_HOLD means this event is useless, so up event with ON_HOLD flag cannot source of clicked signal. @fix --- src/lib/edje/edje_callbacks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/edje/edje_callbacks.c b/src/lib/edje/edje_callbacks.c index 5533ffd..1d24377 100644 --- a/src/lib/edje/edje_callbacks.c +++ b/src/lib/edje/edje_callbacks.c @@ -222,7 +222,7 @@ _edje_mouse_up_signal_cb(void *data, const Eo_Event *event) } } - if ((rp->still_in) && (rp->clicked_button == ev->button) && (!ignored)) + if ((rp->still_in) && (rp->clicked_button == ev->button) && (!ev->event_flags)) { snprintf(buf, sizeof(buf), "mouse,clicked,%i", ev->button); _edje_emit(ed, buf, rp->part->name); --
