edje entry: ignore a mouse up event which is holded by other object
authorYoungbok Shin <youngb.shin@samsung.com>
Thu, 10 Nov 2016 09:26:12 +0000 (18:26 +0900)
committerJinYong Park <j4939.park@samsung.com>
Tue, 22 Nov 2016 10:36:38 +0000 (19:36 +0900)
It prevents updating cursor while srolling a elm_entry or other object.

@tizen_fix

Change-Id: Ice221d9eba8d6b94dd1e43170c9e6682cf989e56

src/lib/edje/edje_entry.c

index cf6a174..d2ce5d7 100644 (file)
@@ -2538,6 +2538,9 @@ _edje_part_mouse_up_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UN
    /* 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 */
+   /* 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. */