From: Chris Michael Date: Tue, 14 Jul 2015 18:33:41 +0000 (-0400) Subject: ecore-wl: Reset input keyboard repeat values when we cancel the timer X-Git-Tag: v1.15.0-beta2~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1bac6be1bb45880851b38b197e1e4c814c0f46b;p=platform%2Fupstream%2Fefl.git ecore-wl: Reset input keyboard repeat values when we cancel the timer Summary: If we end up cancelling the keyboard repeat timer due to no focused surface, we should also reset the input repeat values. @fix Signed-off-by: Chris Michael --- diff --git a/src/lib/ecore_wayland/ecore_wl_input.c b/src/lib/ecore_wayland/ecore_wl_input.c index cb4bc61..ea33346 100644 --- a/src/lib/ecore_wayland/ecore_wl_input.c +++ b/src/lib/ecore_wayland/ecore_wl_input.c @@ -914,6 +914,10 @@ _ecore_wl_input_cb_keyboard_repeat(void *data) return ECORE_CALLBACK_RENEW; } + input->repeat.sym = 0; + input->repeat.key = 0; + input->repeat.time = 0; + return ECORE_CALLBACK_CANCEL; }