discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=491b18b9201acaedf0bd51d461494c781c803eeb
commit 491b18b9201acaedf0bd51d461494c781c803eeb Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Mon Oct 17 12:42:28 2016 -0400 set ON_HOLD flag when triggering gadget mouse buttion actions allow detection that this event is being consumed --- src/modules/pager/gadget/pager.c | 1 + src/modules/time/clock.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/modules/pager/gadget/pager.c b/src/modules/pager/gadget/pager.c index 5886592..599c382 100644 --- a/src/modules/pager/gadget/pager.c +++ b/src/modules/pager/gadget/pager.c @@ -837,6 +837,7 @@ _button_cb_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNU if (ev->button != 3) return; if(!pager_config) return; if (cfg_dialog) return; + ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; e_gadget_configure(inst->o_pager); } diff --git a/src/modules/time/clock.c b/src/modules/time/clock.c index 83772ab..64eb7db 100644 --- a/src/modules/time/clock.c +++ b/src/modules/time/clock.c @@ -264,6 +264,7 @@ _clock_cb_mouse_down(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_U Evas_Event_Mouse_Down *ev = event; if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return; + ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; if (ev->button == 1) { if (inst->popup) elm_ctxpopup_dismiss(inst->popup); --