Add input event source information
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 7 May 2015 06:01:44 +0000 (15:01 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 7 May 2015 06:01:44 +0000 (15:01 +0900)
Change-Id: I83c1a3dcf8c982fbfe846d6175c1dd805132daff

widget_viewer/src/widget.c

index 58c5db7..875f55b 100644 (file)
@@ -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;