ecore_wl_input: fix key repeat logic. 32/74732/1
authorHosang Kim <hosang12.kim@samsung.com>
Wed, 15 Jun 2016 09:53:40 +0000 (18:53 +0900)
committerHosang Kim <hosang12.kim@samsung.com>
Wed, 15 Jun 2016 09:58:50 +0000 (18:58 +0900)
In Tizen, Unfocused App can receive key event.
So repeat timer should not be deleted,
when _ecore_wl_input_cb_keyboard_leave is called.

Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: Ia9ebe8a93361eef4ce166b4732fbd46beaac6df7

src/lib/ecore_wayland/ecore_wl_input.c

index c51db33..38fd50b 100644 (file)
@@ -1351,12 +1351,13 @@ _ecore_wl_input_cb_keyboard_leave(void *data, struct wl_keyboard *keyboard EINA_
 
    if (!surface) return;
    if (!(input = data)) return;
-
-   input->repeat.sym = 0;
-   input->repeat.key = 0;
-   input->repeat.time = 0;
-   if (input->repeat.tmr) ecore_timer_del(input->repeat.tmr);
-   input->repeat.tmr = NULL;
+// TIZEN_ONLY(20160615): Fix key repeat logic. 
+//   input->repeat.sym = 0;
+//   input->repeat.key = 0;
+//   input->repeat.time = 0;
+//   if (input->repeat.tmr) ecore_timer_del(input->repeat.tmr);
+//   input->repeat.tmr = NULL;
+//
 
    input->keyboard_focus = NULL;