From: Sung-jae Park Date: Sun, 16 Nov 2014 08:35:32 +0000 (+0900) Subject: Add log for checking click issue X-Git-Tag: accepted/tizen/mobile/20150530.065423^2~18^2~11^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b8409285b80027059fb4617380d9e742bd141ff;p=apps%2Fnative%2Fwidget%2Fwidget.git Add log for checking click issue [model] Redwood,Kiran,B3(Wearable) [binary_type] AP [customer] Docomo/Orange/ATT/Open [issue#] N/A [problem] [cause] [solution] [team] HomeTF [request] [horizontal_expansion] Change-Id: Ieffa33be62f5ceaee306666d52eb666903315886 --- diff --git a/src/virtual_window.c b/src/virtual_window.c index bd60bd5..c63cf8c 100644 --- a/src/virtual_window.c +++ b/src/virtual_window.c @@ -157,6 +157,7 @@ static int event_handler_cb(dynamicbox_buffer_h handler, struct dynamicbox_buffe flags = evas_event_default_flags_get(info->e); flags |= EVAS_EVENT_FLAG_ON_HOLD; evas_event_default_flags_set(info->e, flags); + DbgPrint("ON_HOLD: %s\n", info->id); break; case DBOX_BUFFER_EVENT_OFF_HOLD: flags = evas_event_default_flags_get(info->e); @@ -197,6 +198,7 @@ static int event_handler_cb(dynamicbox_buffer_h handler, struct dynamicbox_buffe evas_event_feed_mouse_move(info->e, event_info->info.pointer.x, event_info->info.pointer.y, timestamp, NULL); evas_event_feed_mouse_down(info->e, 1, EVAS_BUTTON_NONE, timestamp, NULL); /* + 0.2f just for fake event */ info->pressed = 1; + DbgPrint("DOWN: %s\n", info->id); break; case DBOX_BUFFER_EVENT_MOVE: /** @@ -209,6 +211,7 @@ static int event_handler_cb(dynamicbox_buffer_h handler, struct dynamicbox_buffe evas_event_feed_mouse_move(info->e, event_info->info.pointer.x, event_info->info.pointer.y, timestamp, NULL); evas_event_feed_mouse_up(info->e, 1, EVAS_BUTTON_NONE, timestamp, NULL); info->pressed = 0; + DbgPrint("UP: %s\n", info->id); /** * @note * We have to keep the event flags, so we should not clear them from here.