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
This commit is contained in:
WooHyun Jung 2019-08-01 17:19:16 +09:00 committed by Jaehyun Cho
parent d98d434e56
commit d2f7bacc2c
1 changed files with 0 additions and 3 deletions

View File

@ -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);
}
}