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
if (!efl_input_processed_get(pointer))
{
efl_input_clickable_press(data, 1);
- efl_input_processed_set(pointer, EINA_TRUE);
}
}
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);
}
}