From 96095b5b9d6b90b20a1f2944ed56aff7d895364a Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Mon, 14 Oct 2019 21:54:47 +0200 Subject: [PATCH] win: remove hide_cursor_timer when closing a window @fix --- src/bin/win.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/win.c b/src/bin/win.c index c4c8be9d..a0213510 100644 --- a/src/bin/win.c +++ b/src/bin/win.c @@ -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); }