summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2019-08-01 17:19:16 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2019-08-01 17:19:16 +0900
commitd2f7bacc2c9d481e68e48d2c6c245814c82b2dd6 (patch)
treeff4f3a8ca889d98f3520f6a31907942414adbafd /src/lib
parentd98d434e56fe98af76cdccc38e96f0e8f34db590 (diff)
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
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elementary/efl_ui_clickable_util.c3
1 files changed, 0 insertions, 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)
68 if (!efl_input_processed_get(pointer)) 68 if (!efl_input_processed_get(pointer))
69 { 69 {
70 efl_input_clickable_press(data, 1); 70 efl_input_clickable_press(data, 1);
71 efl_input_processed_set(pointer, EINA_TRUE);
72 } 71 }
73} 72}
74 73
@@ -89,13 +88,11 @@ _unpress_cb(void *data, const Efl_Event *ev EINA_UNUSED)
89 if (efl_canvas_object_pointer_mode_get(data) == EFL_INPUT_OBJECT_POINTER_MODE_AUTO_GRAB) 88 if (efl_canvas_object_pointer_mode_get(data) == EFL_INPUT_OBJECT_POINTER_MODE_AUTO_GRAB)
90 { 89 {
91 efl_input_clickable_unpress(data, 1); 90 efl_input_clickable_unpress(data, 1);
92 efl_input_processed_set(pointer, EINA_TRUE);
93 } 91 }
94 } 92 }
95 else 93 else
96 { 94 {
97 efl_input_clickable_unpress(data, 1); 95 efl_input_clickable_unpress(data, 1);
98 efl_input_processed_set(pointer, EINA_TRUE);
99 } 96 }
100} 97}
101 98