summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2019-07-11 10:18:50 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-11 13:40:24 +0200
commit3798356819bfede4d6c1d128da06fb8bc9a92de8 (patch)
treec895c769d83fe0cf6930d4c54a0b3902f023e911
parentd512ff68ae41b71956c60d335216e93b33df2afb (diff)
efl_ui_text: avoid infinite loop when long pressing
Long pressing on efl_ui_text gave inifinte loop. So, I removed event_call in the event callback function. I think long press functionality is almost broken after applying clickable_util. There is no way to remove long press timer based on the action on efl_ui_text. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9274
-rw-r--r--src/lib/elementary/efl_ui_text.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_text.c b/src/lib/elementary/efl_ui_text.c
index 87f2ca5cc2..34e8a4f62b 100644
--- a/src/lib/elementary/efl_ui_text.c
+++ b/src/lib/elementary/efl_ui_text.c
@@ -1427,7 +1427,6 @@ _long_press_cb(void *data, const Efl_Event *ev EINA_UNUSED)
1427 sd->long_pressed = EINA_TRUE; 1427 sd->long_pressed = EINA_TRUE;
1428 1428
1429 sd->longpress_timer = NULL; 1429 sd->longpress_timer = NULL;
1430 efl_event_callback_call(data, EFL_UI_EVENT_LONGPRESSED, NULL);
1431} 1430}
1432 1431
1433static void 1432static void