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)
committerTaehyub Kim <taehyub.kim@samsung.com>
Wed, 30 Nov 2016 06:38:17 +0000 (15:38 +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 5f7235a..bad8a1b 100644 (file)
@@ -2635,6 +2635,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. */