From 3798356819bfede4d6c1d128da06fb8bc9a92de8 Mon Sep 17 00:00:00 2001 From: WooHyun Jung Date: Thu, 11 Jul 2019 10:18:50 +0000 Subject: [PATCH] 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 Differential Revision: https://phab.enlightenment.org/D9274 --- src/lib/elementary/efl_ui_text.c | 1 - 1 file changed, 1 deletion(-) 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) sd->long_pressed = EINA_TRUE; sd->longpress_timer = NULL; - efl_event_callback_call(data, EFL_UI_EVENT_LONGPRESSED, NULL); } static void