Add geometry log in immodule 20/106320/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 21 Dec 2016 09:19:36 +0000 (18:19 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 21 Dec 2016 09:19:57 +0000 (18:19 +0900)
Change-Id: Ic5700f13a53a2a59fedd56523644260732785fd9
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
ism/extras/wayland_immodule/wayland_imcontext.c

index 5f06ef2da0c548da89adab9918e123345d16e7ca..329417fd078b88a7fad4b0c2c44d7eaadc6d7d6c 100644 (file)
@@ -1423,9 +1423,9 @@ static Eina_Bool _conformant_change_cb(void *data, int ev_type, void *ev)
                 _keyboard_geometry.w = w;
                 _keyboard_geometry.h = h;
             }
+            LOGD("[KEYPAD]: scr %dx%d, rot %d, orig (%d,%d, %dx%d)", scr_w, scr_h, rot, x, y, w, h);
+            LOGD ("IME geometry x : %d, y : %d, w : %d, h : %d\n", _keyboard_geometry.x, _keyboard_geometry.y, _keyboard_geometry.w, _keyboard_geometry.h);
             ecore_imf_context_input_panel_event_callback_call(ctx, ECORE_IMF_INPUT_PANEL_GEOMETRY_EVENT, 0);
-            LOGD("[KEYPAD]: scr %dx%d, rot %d, orig (%d,%d, %dx%d), trans (%d,%d, %dx%d)", scr_w, scr_h, rot, x, y, w, h,
-                _keyboard_geometry.x, _keyboard_geometry.y, _keyboard_geometry.w, _keyboard_geometry.h);
         }
     }
 
@@ -1937,6 +1937,7 @@ text_input_input_panel_state(void                 *data EINA_UNUSED,
         _keyboard_geometry.y = scr_h;
         _keyboard_geometry.w = 0;
         _keyboard_geometry.h = 0;
+        LOGD ("IME geometry x : %d, y : %d, w : %d, h : %d\n", _keyboard_geometry.x, _keyboard_geometry.y, _keyboard_geometry.w, _keyboard_geometry.h);
         ecore_imf_context_input_panel_event_callback_call(imcontext->ctx, ECORE_IMF_INPUT_PANEL_GEOMETRY_EVENT, 0);
     }
     //
@@ -1960,6 +1961,7 @@ text_input_input_panel_geometry(void                 *data EINA_UNUSED,
         _keyboard_geometry.y = y;
         _keyboard_geometry.w = w;
         _keyboard_geometry.h = h;
+        LOGD ("IME geometry x : %d, y : %d, w : %d, h : %d\n", _keyboard_geometry.x, _keyboard_geometry.y, _keyboard_geometry.w, _keyboard_geometry.h);
         ecore_imf_context_input_panel_event_callback_call(imcontext->ctx, ECORE_IMF_INPUT_PANEL_GEOMETRY_EVENT, 0);
     }
 }