win: remove hide_cursor_timer when closing a window

@fix
This commit is contained in:
Boris Faure 2019-10-14 21:54:47 +02:00
parent fe63070139
commit 96095b5b9d
1 changed files with 4 additions and 0 deletions

View File

@ -774,6 +774,10 @@ win_free(Win *wn)
(wn->khdl.imf, ECORE_IMF_CALLBACK_COMMIT, _imf_event_commit_cb);
ecore_imf_context_del(wn->khdl.imf);
}
if (wn->hide_cursor_timer)
{
ecore_timer_del(wn->hide_cursor_timer);
}
ecore_imf_shutdown();
free(wn);
}