From 88dada465e0fad35b5a535a042e0a93046ffff7c Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Wed, 4 Aug 2010 22:06:54 +0200 Subject: Cleanup tapping and gesture code Improved tapping quality with this patch. Signed-off-by: Henrik Rydberg --- src/grail-inserter.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/grail-inserter.c') diff --git a/src/grail-inserter.c b/src/grail-inserter.c index 4bf78d3..724052c 100644 --- a/src/grail-inserter.c +++ b/src/grail-inserter.c @@ -216,9 +216,10 @@ int gin_gid_begin_select(struct grail *ge, int type, int priority, return s->id; } -int gin_gid_begin(struct grail *ge, int type, const struct touch_frame *frame) +int gin_gid_begin(struct grail *ge, int type, int priority, + const struct touch_frame *frame) { - return gin_gid_begin_select(ge, type, 1, + return gin_gid_begin_select(ge, type, priority, frame->touches, sizeof(frame->touches)); } -- cgit v1.2.3