projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
872f3de
)
genlist: add EVAS_EVENT_ON_HOLD flag in mouse up
34/109634/2
author
SangHyeon Lee
<sh10233.lee@samsung.com>
Mon, 9 Jan 2017 01:05:21 +0000
(10:05 +0900)
committer
SangHyeon Lee
<sh10233.lee@samsung.com>
Fri, 13 Jan 2017 01:02:47 +0000
(17:02 -0800)
Change-Id: Ibb6b9371717971b825c50173eeae1339356ba57f
(cherry picked from commit
6727edaed012290f39f4a7f43ba21730b34a94fa
)
src/mobile_lib/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/mobile_lib/elm_genlist.c
b/src/mobile_lib/elm_genlist.c
index 552dfc1c236f1a85b3c959dc54665376cc9ea9a2..ef4a08dc9f0b4f836e0962b7996027994ab49418 100644
(file)
--- a/
src/mobile_lib/elm_genlist.c
+++ b/
src/mobile_lib/elm_genlist.c
@@
-5208,6
+5208,8
@@
_item_mouse_up_cb(void *data,
it->dragging = EINA_FALSE;
evas_object_smart_callback_call(WIDGET(it), SIG_DRAG_STOP, EO_OBJ(it));
}
+ // When the event is cancelled, need to initialize mouse flags and timers.
+ if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) sd->on_hold = EINA_TRUE;
_gesture_do(sd);