ecore-wl should maybe clear its repeat timer for keyboard on window free

This commit is contained in:
Mike Blumenkrantz 2015-02-01 18:32:04 -05:00
parent f52f562891
commit 45aba1343e
1 changed files with 5 additions and 1 deletions

View 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);