summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-07-14 14:33:41 -0400
committerChris Michael <cp.michael@samsung.com>2015-07-14 14:33:41 -0400
commita1bac6be1bb45880851b38b197e1e4c814c0f46b (patch)
treeb01cdd13e6a92e185fe521ed96077305d1fe73dd /src
parentd8d671548aff9cbca5565551489aefbec8b943f6 (diff)
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 <cp.michael@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_wayland/ecore_wl_input.c4
1 files changed, 4 insertions, 0 deletions
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)
914 return ECORE_CALLBACK_RENEW; 914 return ECORE_CALLBACK_RENEW;
915 } 915 }
916 916
917 input->repeat.sym = 0;
918 input->repeat.key = 0;
919 input->repeat.time = 0;
920
917 return ECORE_CALLBACK_CANCEL; 921 return ECORE_CALLBACK_CANCEL;
918} 922}
919 923