forked from enlightenment/efl
ecore-wl should maybe clear its repeat timer for keyboard on window free
This commit is contained in:
parent
f52f562891
commit
45aba1343e
|
@ -130,7 +130,11 @@ ecore_wl_window_free(Ecore_Wl_Window *win)
|
||||||
if ((input->pointer_focus) && (input->pointer_focus == win))
|
if ((input->pointer_focus) && (input->pointer_focus == win))
|
||||||
input->pointer_focus = NULL;
|
input->pointer_focus = NULL;
|
||||||
if ((input->keyboard_focus) && (input->keyboard_focus == win))
|
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);
|
if (win->anim_callback) wl_callback_destroy(win->anim_callback);
|
||||||
|
|
Loading…
Reference in New Issue