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)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 17 Nov 2016 07:54:18 +0000 (16:54 +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 20f9a60..264fdd1 100644 (file)
@@ -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. */