From 858d9b0e0e8e050b155a37f380614a40e26fead5 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Fri, 12 Apr 2019 17:41:21 +0900 Subject: [PATCH] Improve logs for readability Change-Id: Ibc44720fb2184c317dd1a80efcab3dbe7bde5665 Signed-off-by: Jihoon Kim --- ism/extras/wayland_immodule/wayland_imcontext.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ism/extras/wayland_immodule/wayland_imcontext.c b/ism/extras/wayland_immodule/wayland_imcontext.c index d37b8eb..822f768 100644 --- a/ism/extras/wayland_immodule/wayland_imcontext.c +++ b/ism/extras/wayland_immodule/wayland_imcontext.c @@ -991,6 +991,7 @@ _send_input_panel_hide_request(Ecore_IMF_Context *ctx) WaylandIMContext *imcontext = (WaylandIMContext *)ecore_imf_context_data_get(ctx); if (imcontext && imcontext->text_input) { + LOGD("Send IME hide request"); wl_text_input_hide_input_panel(imcontext->text_input); } else { LOGD("creating temporary context for sending hide request"); @@ -998,8 +999,10 @@ _send_input_panel_hide_request(Ecore_IMF_Context *ctx) Ecore_IMF_Context *temp_context = ecore_imf_context_add(ctx_id); if (temp_context) { imcontext = (WaylandIMContext *)ecore_imf_context_data_get(temp_context); - if (imcontext && imcontext->text_input) + if (imcontext && imcontext->text_input) { + LOGD("Send IME hide request"); wl_text_input_hide_input_panel(imcontext->text_input); + } ecore_imf_context_del(temp_context); } @@ -2835,7 +2838,7 @@ wayland_im_context_add(Ecore_IMF_Context *ctx) imcontext->input_panel_position.x = -1; imcontext->input_panel_position.y = -1; - LOGD("text_input_manager = %p", imcontext->text_input_manager); + LOGD("text_input_manager : %p", imcontext->text_input_manager); imcontext->text_input = wl_text_input_manager_create_text_input(imcontext->text_input_manager); @@ -2870,7 +2873,7 @@ wayland_im_context_del (Ecore_IMF_Context *ctx) } Ecore_Event_Key *ev; - LOGD ("ctx : %p [%d], focused_ctx : %p, show_req_ctx : %p", ctx, valid, _focused_ctx, _show_req_ctx); + LOGD ("ctx : %p, ctx valid : %d, focused_ctx : %p, show_req_ctx : %p", ctx, valid, _focused_ctx, _show_req_ctx); if (!imcontext) return; -- 2.7.4