summaryrefslogtreecommitdiff
path: root/ism/extras
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2019-04-12 17:41:21 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2019-04-12 17:41:29 +0900
commit858d9b0e0e8e050b155a37f380614a40e26fead5 (patch)
tree129747fc2ae70fc4325534b390f7540552ff1b00 /ism/extras
parentec57e23858bb1b54235c894ccb1f1a25e2c14c34 (diff)
downloadisf-858d9b0e0e8e050b155a37f380614a40e26fead5.tar.gz
isf-858d9b0e0e8e050b155a37f380614a40e26fead5.tar.bz2
isf-858d9b0e0e8e050b155a37f380614a40e26fead5.zip
Improve logs for readability
Change-Id: Ibc44720fb2184c317dd1a80efcab3dbe7bde5665 Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Diffstat (limited to 'ism/extras')
-rw-r--r--ism/extras/wayland_immodule/wayland_imcontext.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/ism/extras/wayland_immodule/wayland_imcontext.c b/ism/extras/wayland_immodule/wayland_imcontext.c
index d37b8eb9..822f768a 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;