From 0307365f681bc91191f0927fefc1947ab222e5d8 Mon Sep 17 00:00:00 2001 From: Youngbok Shin Date: Thu, 10 Nov 2016 18:26:12 +0900 Subject: [PATCH] edje entry: ignore a mouse up event which is holded by other object It prevents updating cursor while srolling a elm_entry or other object. @tizen_fix Change-Id: Ice221d9eba8d6b94dd1e43170c9e6682cf989e56 --- src/lib/edje/edje_entry.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c index 20f9a60..264fdd1 100644 --- a/src/lib/edje/edje_entry.c +++ b/src/lib/edje/edje_entry.c @@ -2555,6 +2555,9 @@ _edje_part_mouse_up_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UN if (ev->flags & EVAS_BUTTON_TRIPLE_CLICK) return; if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK) return; /* END */ + /* TIZEN_ONLY(20161110): ignore a mouse up event which is holded by other object */ + if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return; + /* END */ /* We don't check for ON_HOLD because we'd like to end selection anyway when * mouse is up, even if it's held. */ -- 2.7.4