From: Sung-jae Park Date: Thu, 7 May 2015 06:01:44 +0000 (+0900) Subject: Add input event source information X-Git-Tag: submit/tizen_mobile/20150511.123737~1^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ce7193eea567855e7e33e4046f6c01a4d55e01d;p=platform%2Fcore%2Fappfw%2Fwidget-viewer.git Add input event source information Change-Id: I83c1a3dcf8c982fbfe846d6175c1dd805132daff --- diff --git a/widget_viewer/src/widget.c b/widget_viewer/src/widget.c index 58c5db7..875f55b 100644 --- a/widget_viewer/src/widget.c +++ b/widget_viewer/src/widget.c @@ -868,7 +868,7 @@ static int send_mouse_event(widget_h handle, const char *event, int x, int y) double timestamp; timestamp = util_timestamp(); - packet = packet_create_noack(event, "ssdii", handle->common->pkgname, handle->common->id, timestamp, x, y); + packet = packet_create_noack(event, "ssdiii", handle->common->pkgname, handle->common->id, timestamp, x, y, INPUT_EVENT_SOURCE_VIEWER); if (!packet) { ErrPrint("Failed to build param\n"); return WIDGET_ERROR_FAULT;