From: SangHyeon Lee Date: Fri, 23 Dec 2016 07:15:52 +0000 (+0900) Subject: genlist: checking ON_SCROLL when mouse down to prevent wrong item highlight X-Git-Tag: submit/tizen/20170102.091821~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bcc9ef646368a9d96d85f1664cb441f8513a6dbb;p=platform%2Fupstream%2Felementary.git genlist: checking ON_SCROLL when mouse down to prevent wrong item highlight Change-Id: I746b1691feca6b6f8cc8f318c683f5ffff82c7c5 Signed-off-by: SangHyeon Lee --- diff --git a/src/mobile_lib/elm_genlist.c b/src/mobile_lib/elm_genlist.c index 9ba5972a2..4ae01a1fe 100644 --- a/src/mobile_lib/elm_genlist.c +++ b/src/mobile_lib/elm_genlist.c @@ -4554,8 +4554,7 @@ _item_mouse_down_cb(void *data, Elm_Genlist_Data *sd = GL_IT(it)->wsd; Evas_Coord x, y; - // FIXME: To prevent duplicated callback call - //if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return; + if (ev->event_flags & EVAS_EVENT_FLAG_ON_SCROLL) return; if (ev->button != 1) return; // mouse down is activate only one finger