discomfitor pushed a commit to branch enlightenment-0.21.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=3ca3740f522e1de5f04e46343675e602ec525599

commit 3ca3740f522e1de5f04e46343675e602ec525599
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/time/clock.c | 1 +
 1 file changed, 1 insertion(+)

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);

-- 


Reply via email to