projects
/
platform
/
core
/
appfw
/
widget-viewer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fd3629
)
Add input event source information
author
Sung-jae Park
<nicesj.park@samsung.com>
Thu, 7 May 2015 06:01:44 +0000
(15:01 +0900)
committer
Sung-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
patch
|
blob
|
history
diff --git
a/widget_viewer/src/widget.c
b/widget_viewer/src/widget.c
index
58c5db7
..
875f55b
100644
(file)
--- 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, "ssdii
i", 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;