ecore-wl should maybe clear its repeat timer for keyboard on window free
authorMike Blumenkrantz <zmike@osg.samsung.com>
Sun, 1 Feb 2015 23:32:04 +0000 (18:32 -0500)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Sun, 1 Feb 2015 23:32:04 +0000 (18:32 -0500)
src/lib/ecore_wayland/ecore_wl_window.c

index 048fd30..febb135 100644 (file)
@@ -130,7 +130,11 @@ ecore_wl_window_free(Ecore_Wl_Window *win)
         if ((input->pointer_focus) && (input->pointer_focus == win))
           input->pointer_focus = NULL;
         if ((input->keyboard_focus) && (input->keyboard_focus == win))
-          input->keyboard_focus = NULL;
+          {
+             input->keyboard_focus = NULL;
+             ecore_timer_del(input->repeat.tmr);
+             input->repeat.tmr = NULL;
+          }
      }
 
    if (win->anim_callback) wl_callback_destroy(win->anim_callback);