summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInhong Han <inhong1.han@samsung.com>2018-10-17 16:07:11 +0900
committerInhong Han <inhong1.han@samsung.com>2018-10-17 16:09:12 +0900
commit4f45681e66908d4102c80c10a48513e567bdd378 (patch)
treee6aa5dbdda0f1ffbbcd2e555a4d46d99ae3f49e7
parent9cb74b6c83e3ab341495a4299d277d4795311552 (diff)
downloadisf-4f45681e66908d4102c80c10a48513e567bdd378.tar.gz
isf-4f45681e66908d4102c80c10a48513e567bdd378.tar.bz2
isf-4f45681e66908d4102c80c10a48513e567bdd378.zip
Add a log related to ecore_timer
Change-Id: I1aeacc83c1cf8aeb2de9ae5cd6268c2a690153b5
-rw-r--r--ism/extras/wayland_immodule/wayland_imcontext.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ism/extras/wayland_immodule/wayland_imcontext.c b/ism/extras/wayland_immodule/wayland_imcontext.c
index f31f0369..4f50b28c 100644
--- a/ism/extras/wayland_immodule/wayland_imcontext.c
+++ b/ism/extras/wayland_immodule/wayland_imcontext.c
@@ -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