elm_list & elm_genlist & elm_gengrid: fix the behavior of using the mouse.
authorHosang Kim <hosang12.kim@samsung.com>
Thu, 25 Jun 2015 14:33:57 +0000 (16:33 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Thu, 25 Jun 2015 15:24:08 +0000 (17:24 +0200)
commit3373d6f12ac0eefbee34b1f0ecbd368e60ce6d65
tree7de3e841251a7f5bf4a7993736d1d63e0046540f
parentb8959e778090547ef9df79601bef0c7cd9b3cd21
elm_list & elm_genlist & elm_gengrid: fix the behavior of using the mouse.

Summary:
Elementary widgets have different behavior of using the mouse, they need to be unified.
- swipe : without checking on hold, just checking drag state.
- longpress : after longpress, _item_unhighlight(), _item_unselect() are called.
- select : when the mouse pointer leaves item area, _item_unhighlight(), _item_unselect() are called.

First, apply this commit https://phab.enlightenment.org/D2550

Test Plan: elementary_test -> list

Reviewers: seoz, Hermet, CHAN, woohyun, kimcinoo, jaehwan, SanghyeonLee, cedric

Reviewed By: cedric

Differential Revision: https://phab.enlightenment.org/D2622

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/elm_gengrid.c
src/lib/elm_genlist.c
src/lib/elm_list.c
src/lib/elm_widget.h