Add imcontext info in commit or update preedit log 43/116743/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 28 Feb 2017 05:34:42 +0000 (14:34 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Tue, 28 Feb 2017 08:37:46 +0000 (00:37 -0800)
Change-Id: I796383c4c544eb048bffcad2490677ecaa751812
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
ism/extras/wayland_immodule/wayland_imcontext.c

index d9abbaf47fc9ac146c145b246c9cc1c41613f120..66a8e8dfbdb28fdfedc8a86529dde9668f9326f6 100644 (file)
@@ -1155,7 +1155,8 @@ text_input_commit_string(void                 *data,
     WaylandIMContext *imcontext = (WaylandIMContext *)data;
     Eina_Bool old_preedit = EINA_FALSE;
 
-    SECURE_LOGD("commit event (text: '%s', current pre-edit: '%s')",
+    SECURE_LOGD("ctx : %p, commit event (text: '%s', current pre-edit: '%s')",
+                imcontext->ctx,
                 text,
                 imcontext->preedit_text ? imcontext->preedit_text : "");
 
@@ -1669,7 +1670,8 @@ text_input_preedit_string(void                 *data,
     Eina_Bool old_preedit = EINA_FALSE;
     Eina_Bool preedit_changed = EINA_FALSE;
 
-    SECURE_LOGD("preedit event (text: '%s', current pre-edit: '%s')",
+    SECURE_LOGD("ctx : %p, preedit event (text: '%s', current pre-edit: '%s')",
+                imcontext->ctx,
                 text,
                 imcontext->preedit_text ? imcontext->preedit_text : "");
 
@@ -2267,7 +2269,8 @@ text_input_recapture_string(void                 *data,
     Eina_Bool old_preedit = EINA_FALSE;
     Eina_Bool preedit_changed = EINA_FALSE;
 
-    SECURE_LOGD("preedit event (preedit: '%s', current pre-edit: '%s')",
+    SECURE_LOGD("ctx : %p, preedit event (preedit: '%s', current pre-edit: '%s')",
+                imcontext->ctx,
                 preedit,
                 imcontext->preedit_text ? imcontext->preedit_text : "");