X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Flivebox.c;h=19fc45858e4ac8d22793397711c56f5913d5966d;hb=b6184dd65a39bfdd19a5f04c952da0ee734ccc9d;hp=0ceae6f45eb5ff45fa9a487ce41823d56d04d62c;hpb=d79e96dcadca13b8c4ec97351662857d5f254999;p=platform%2Fframework%2Fweb%2Flivebox-viewer.git diff --git a/src/livebox.c b/src/livebox.c index 0ceae6f..19fc458 100644 --- a/src/livebox.c +++ b/src/livebox.c @@ -1087,6 +1087,9 @@ EAPI int livebox_click(struct livebox *handler, double x, double y) double timestamp; int ret; + timestamp = util_timestamp(); + DbgPrint("CLICKED: %lf\n", timestamp); + if (!handler) { ErrPrint("Handler is NIL\n"); return LB_STATUS_ERROR_INVALID; @@ -1103,7 +1106,6 @@ EAPI int livebox_click(struct livebox *handler, double x, double y) ErrPrint("Failed to launch app %s\n", handler->lb.auto_launch); } - timestamp = util_timestamp(); packet = packet_create_noack("clicked", "sssddd", handler->pkgname, handler->id, "clicked", timestamp, x, y); if (!packet) { ErrPrint("Failed to build param\n");