ecore-wl: Reset input keyboard repeat values when we cancel the timer
authorChris Michael <cp.michael@samsung.com>
Tue, 14 Jul 2015 18:33:41 +0000 (14:33 -0400)
committerChris Michael <cp.michael@samsung.com>
Tue, 14 Jul 2015 18:33:41 +0000 (14:33 -0400)
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 <cp.michael@samsung.com>
src/lib/ecore_wayland/ecore_wl_input.c

index cb4bc61..ea33346 100644 (file)
@@ -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;
 }