From b67b1f969b8361449d1626067f59c73feb517ca7 Mon Sep 17 00:00:00 2001 From: Hosang Kim Date: Wed, 8 Jun 2016 18:40:36 +0900 Subject: [PATCH] ecore_wl_input: fix key repeat condition. Key repeat will be operated when window is unfocused. Signed-off-by: Hosang Kim Change-Id: I636c3a973ef340a312454a84f7de4eca5bb8eb8b --- src/lib/ecore_wayland/ecore_wl_input.c | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/src/lib/ecore_wayland/ecore_wl_input.c b/src/lib/ecore_wayland/ecore_wl_input.c index d25995c..dd6e41c 100644 --- a/src/lib/ecore_wayland/ecore_wl_input.c +++ b/src/lib/ecore_wayland/ecore_wl_input.c @@ -1210,19 +1210,12 @@ _ecore_wl_input_cb_keyboard_repeat(void *data) if (!(input = data)) return ECORE_CALLBACK_RENEW; - if ((win = input->keyboard_focus)) - { - _ecore_wl_input_cb_keyboard_key(input, NULL, input->display->serial, - input->repeat.time, - input->repeat.key, EINA_TRUE); - return ECORE_CALLBACK_RENEW; - } - - input->repeat.sym = 0; - input->repeat.key = 0; - input->repeat.time = 0; - - return ECORE_CALLBACK_CANCEL; + // TIZEN_ONLY(20160610): fix key repeat condition. + _ecore_wl_input_cb_keyboard_key(input, NULL, input->display->serial, + input->repeat.time, + input->repeat.key, EINA_TRUE); + // + return ECORE_CALLBACK_RENEW; } static void -- 2.7.4