From d2f7bacc2c9d481e68e48d2c6c245814c82b2dd6 Mon Sep 17 00:00:00 2001 From: WooHyun Jung Date: Thu, 1 Aug 2019 17:19:16 +0900 Subject: [PATCH] efl_ui_clickable_util: remove efl_input_processed_set Summary: efl_input_processed_set needs to be used only when specific event marks that it is monopolizing current user interaction. (such as scrolling). But, press event or unpress event looks not that proper. Reviewers: bu5hm4n, Jaehyun_Cho Reviewed By: bu5hm4n, Jaehyun_Cho Subscribers: AbdullehGhujeh, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9454 --- src/lib/elementary/efl_ui_clickable_util.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/elementary/efl_ui_clickable_util.c b/src/lib/elementary/efl_ui_clickable_util.c index 50251c48fd..8e1c74f8a7 100644 --- a/src/lib/elementary/efl_ui_clickable_util.c +++ b/src/lib/elementary/efl_ui_clickable_util.c @@ -68,7 +68,6 @@ _press_cb(void *data, const Efl_Event *ev) if (!efl_input_processed_get(pointer)) { efl_input_clickable_press(data, 1); - efl_input_processed_set(pointer, EINA_TRUE); } } @@ -89,13 +88,11 @@ _unpress_cb(void *data, const Efl_Event *ev EINA_UNUSED) if (efl_canvas_object_pointer_mode_get(data) == EFL_INPUT_OBJECT_POINTER_MODE_AUTO_GRAB) { efl_input_clickable_unpress(data, 1); - efl_input_processed_set(pointer, EINA_TRUE); } } else { efl_input_clickable_unpress(data, 1); - efl_input_processed_set(pointer, EINA_TRUE); } }