aboutsummaryrefslogtreecommitdiffstats
path: root/src/mtouch.c
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-04-10 23:11:59 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-04-15 06:10:07 +0200
commit223ba8b1b753e12a4826bacab282ab8dc7ba8689 (patch)
tree4e169a4c36b24fee41fe2f20a6039aa88e82e15f /src/mtouch.c
parent2cf55b491c571d49b0ce22549c08f47ffc451a69 (diff)
downloadxorg-input-kobomultitouch-223ba8b1b753e12a4826bacab282ab8dc7ba8689.tar.gz
xorg-input-kobomultitouch-223ba8b1b753e12a4826bacab282ab8dc7ba8689.tar.bz2
xorg-input-kobomultitouch-223ba8b1b753e12a4826bacab282ab8dc7ba8689.zip
Introduce Memory
Add the Memory structure to hold the multitouch parsing state. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/mtouch.c')
-rw-r--r--src/mtouch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mtouch.c b/src/mtouch.c
index f5acd71..44b4376 100644
--- a/src/mtouch.c
+++ b/src/mtouch.c
@@ -38,6 +38,7 @@ int open_mtouch(struct MTouch *mt, int fd)
init_hwstate(&mt->hs);
init_mtstate(&mt->prev_state);
init_mtstate(&mt->state);
+ init_memory(&mt->mem);
SYSCALL(rc = ioctl(fd, EVIOCGRAB, (pointer)1));
return rc;
}