From 8ce7193eea567855e7e33e4046f6c01a4d55e01d Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Thu, 7 May 2015 15:01:44 +0900 Subject: [PATCH] Add input event source information Change-Id: I83c1a3dcf8c982fbfe846d6175c1dd805132daff --- widget_viewer/src/widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4