hermet pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=afba465735a12cd3d0283a4cbb89e5fc9881b005
commit afba465735a12cd3d0283a4cbb89e5fc9881b005 Author: Hermet Park <chuneon.p...@samsung.com> Date: Mon Jul 5 18:07:04 2021 +0900 ecore_wl2: prevent invalid timer if the input is invalid. Summary: It is non-sense that running timer even if the input/timer is invalid. Stop the timer to prevent invalid key down repeating. Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12285 --- src/lib/ecore_wl2/ecore_wl2_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c b/src/lib/ecore_wl2/ecore_wl2_input.c index 0d7aaaa727..e205d335a2 100644 --- a/src/lib/ecore_wl2/ecore_wl2_input.c +++ b/src/lib/ecore_wl2/ecore_wl2_input.c @@ -991,7 +991,7 @@ _keyboard_cb_repeat(void *data) Ecore_Wl2_Window *window; input = data; - if (!input) return ECORE_CALLBACK_RENEW; + if (!input || !input->repeat.timer) return ECORE_CALLBACK_CANCEL; window = input->focus.keyboard; if (!window) goto out; --