Add a log related to ecore_timer 42/191442/1
authorInhong Han <inhong1.han@samsung.com>
Wed, 17 Oct 2018 07:07:11 +0000 (16:07 +0900)
committerInhong Han <inhong1.han@samsung.com>
Wed, 17 Oct 2018 07:09:12 +0000 (16:09 +0900)
Change-Id: I1aeacc83c1cf8aeb2de9ae5cd6268c2a690153b5

ism/extras/wayland_immodule/wayland_imcontext.c

index f31f036..4f50b28 100644 (file)
@@ -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