aboutsummaryrefslogtreecommitdiffstats
path: root/src/mtouch.c
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2008-11-06 17:18:16 +0100
committerHenrik Rydberg <rydberg@euromail.se>2008-11-06 17:18:16 +0100
commit63de72d8d810e3692c96c7385b497bb4d68ef54a (patch)
treecaa3ecce7c826553d611193f6f1363d76ebd906f /src/mtouch.c
parent3734c2c5dc65f41aa727d9d69201d604eab6e77d (diff)
downloadxorg-input-kobomultitouch-63de72d8d810e3692c96c7385b497bb4d68ef54a.tar.gz
xorg-input-kobomultitouch-63de72d8d810e3692c96c7385b497bb4d68ef54a.tar.bz2
xorg-input-kobomultitouch-63de72d8d810e3692c96c7385b497bb4d68ef54a.zip
state added, now do the matching
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/mtouch.c')
-rw-r--r--src/mtouch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mtouch.c b/src/mtouch.c
index e469d2e..cb1c44c 100644
--- a/src/mtouch.c
+++ b/src/mtouch.c
@@ -18,6 +18,8 @@ int open_mtouch(struct MTouch *mt, int fd)
int rc;
init_iobuf(&mt->buf);
init_hwdata(&mt->hw);
+ init_state(&mt->os);
+ init_state(&mt->ns);
if (mt->grabbed)
return 0;
SYSCALL(rc = ioctl(fd, EVIOCGRAB, (pointer)1));