summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-jae Park <nicesj.park@samsung.com>2013-03-21 14:23:52 +0000
committerSung-jae Park <nicesj.park@samsung.com>2013-03-21 14:24:34 +0000
commit4eede113840f02acf473bfd39c443aea0f8ea4d2 (patch)
tree191f3899025417c76449e708312fb64d7943d8c7
parentc0aac8882de7d3317004d6e9e0dd26c9bf54ce26 (diff)
parent5e1f38bc580faf7846fe2ffb5bbf37f6cb1acd2a (diff)
downloaddata-provider-master-4eede113840f02acf473bfd39c443aea0f8ea4d2.tar.gz
data-provider-master-4eede113840f02acf473bfd39c443aea0f8ea4d2.tar.bz2
data-provider-master-4eede113840f02acf473bfd39c443aea0f8ea4d2.zip
Merge branch 'master' into tizen_2.1
Change-Id: Ie71b4b59f989872da19b80d04972ffd92f99cabc
-rw-r--r--src/server.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server.c b/src/server.c
index 973c61e..8f9ec77 100644
--- a/src/server.c
+++ b/src/server.c
@@ -308,8 +308,8 @@ static struct packet *client_clicked(pid_t pid, int handle, const struct packet
const char *id;
const char *event;
double timestamp;
- int x;
- int y;
+ double x;
+ double y;
int ret;
struct inst_info *inst;
@@ -320,14 +320,14 @@ static struct packet *client_clicked(pid_t pid, int handle, const struct packet
goto out;
}
- ret = packet_get(packet, "sssdii", &pkgname, &id, &event, &timestamp, &x, &y);
+ ret = packet_get(packet, "sssddd", &pkgname, &id, &event, &timestamp, &x, &y);
if (ret != 6) {
ErrPrint("Parameter is not matched\n");
ret = -EINVAL;
goto out;
}
- DbgPrint("pid[%d] pkgname[%s] id[%s] event[%s] timestamp[%lf] x[%d] y[%d]\n", pid, pkgname, id, event, timestamp, x, y);
+ DbgPrint("pid[%d] pkgname[%s] id[%s] event[%s] timestamp[%lf] x[%lf] y[%lf]\n", pid, pkgname, id, event, timestamp, x, y);
/*!
* \NOTE: