summaryrefslogtreecommitdiff
path: root/src/synproto.h
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2012-02-07 15:35:03 -0800
committerChase Douglas <chase.douglas@canonical.com>2012-02-10 13:20:48 -0800
commit7bcbf8eb110b1f7c6c085d3dcd69f66b00df2b8a (patch)
tree667098e4cd37d0f4e09b0de3364fec04e8496319 /src/synproto.h
parenta78d55d021c9cd3be6501760d6fca3464ea6dec8 (diff)
Allocate SynapticsPrivate.comm->hwState
This is needed for when SynapticsHwState can't be allocated on the stack. 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/synproto.h')
-rw-r--r--src/synproto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synproto.h b/src/synproto.h
index 3f09bb2..74becca 100644
--- a/src/synproto.h
+++ b/src/synproto.h
@@ -64,7 +64,7 @@ struct CommData {
int protoBufTail;
/* Used for keeping track of partial HwState updates. */
- struct SynapticsHwState hwState;
+ struct SynapticsHwState *hwState;
Bool oneFinger;
Bool twoFingers;
Bool threeFingers;