From a1bac6be1bb45880851b38b197e1e4c814c0f46b Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 14 Jul 2015 14:33:41 -0400 Subject: [PATCH] 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 --- src/lib/ecore_wayland/ecore_wl_input.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.7.4