summaryrefslogtreecommitdiff
path: root/src/eventcomm.c
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2012-02-07 14:38:33 -0800
committerChase Douglas <chase.douglas@canonical.com>2012-02-10 13:20:49 -0800
commit5486ab3486e1ba4a0ef8fc9efe4d243ea90f5794 (patch)
tree08e26b6a2969cb84512c0b41267eb67c80bb9c0f /src/eventcomm.c
parent5658a2f643cf7440009dde2fa74287332237c0b9 (diff)
Introduce SynapticsCopyHwState function
Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/eventcomm.c')
-rw-r--r--src/eventcomm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c
index e494d4c..b83da8f 100644
--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -720,7 +720,7 @@ EventReadHwState(InputInfoPtr pInfo,
EventProcessTouch(pInfo);
hw->numFingers = count_fingers(comm);
hw->millis = 1000 * ev.time.tv_sec + ev.time.tv_usec / 1000;
- *hwRet = *hw;
+ SynapticsCopyHwState(hwRet, hw);
return TRUE;
}
break;