aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-10-17 12:42:28 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-11-18 11:24:51 -0500
commit3ca3740f522e1de5f04e46343675e602ec525599 (patch)
tree61701d155abd349f659876298a3ce5b93c51cb49
parenthandle gadget_popup smart callback on gadget's display object (diff)
downloadenlightenment-3ca3740f522e1de5f04e46343675e602ec525599.tar.gz
set ON_HOLD flag when triggering gadget mouse buttion actions
allow detection that this event is being consumed
-rw-r--r--src/modules/time/clock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/time/clock.c b/src/modules/time/clock.c
index 83772abae..64eb7db5e 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);