From 4f45681e66908d4102c80c10a48513e567bdd378 Mon Sep 17 00:00:00 2001 From: Inhong Han Date: Wed, 17 Oct 2018 16:07:11 +0900 Subject: [PATCH] Add a log related to ecore_timer Change-Id: I1aeacc83c1cf8aeb2de9ae5cd6268c2a690153b5 --- ism/extras/wayland_immodule/wayland_imcontext.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ism/extras/wayland_immodule/wayland_imcontext.c b/ism/extras/wayland_immodule/wayland_imcontext.c index f31f036..4f50b28 100644 --- a/ism/extras/wayland_immodule/wayland_imcontext.c +++ b/ism/extras/wayland_immodule/wayland_imcontext.c @@ -938,6 +938,7 @@ static Eina_Bool _clear_hide_timer() { if (_hide_timer) { + LOGD("Delete hide timer"); ecore_timer_del(_hide_timer); _hide_timer = NULL; return EINA_TRUE; @@ -1100,6 +1101,7 @@ _send_will_hide_ack(WaylandIMContext *imcontext) static Eina_Bool _hide_timer_handler(void *data) { + LOGD("Start hide timer"); Ecore_IMF_Context *ctx = (Ecore_IMF_Context *)data; _send_input_panel_hide_request(ctx); @@ -1118,8 +1120,10 @@ _hide_timer_handler(void *data) static void _input_panel_hide_timer_start(void *data) { - if (!_hide_timer) + if (!_hide_timer) { + LOGD("Add timer to hide input panel"); _hide_timer = ecore_timer_add(HIDE_TIMER_INTERVAL, _hide_timer_handler, data); + } } static void -- 2.7.4