efl_ui_clickable: fix not to be clicked if pointer is processed
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 28 Jun 2019 10:35:19 +0000 (10:35 +0000)
committerShinwoo Kim <cinoo.kim@samsung.com>
Wed, 10 Jul 2019 02:28:26 +0000 (11:28 +0900)
commitbc07fc3294dd07df4f3a35dfe98aba99366fd110
treea7758d1fbf926f60ad9c0d57dc4951e86851f0ae
parent4f21142bfad31e8785a98ebdb02f0a7d8e8be234
efl_ui_clickable: fix not to be clicked if pointer is processed

If pointer is processed by a container in its POINTER_MOVE event
callback, then clickable calls efl_ui_clickable_button_state_reset not
to be clicked by efl_ui_clickable_unpress.

e.g. Efl.Ui.Active_View.View_Manager_Scroll sets pointer processed in
POINTER_MOVE event callback not to click button during scrolling.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D9204
src/bin/elementary/test_ui_spotlight.c
src/lib/elementary/efl_ui_clickable_util.c
src/lib/elementary/efl_ui_spotlight_manager_scroll.c