summaryrefslogtreecommitdiff
path: root/test/grail.c
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@bitmath.org>2010-08-04 22:06:54 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-08-05 22:48:38 +0200
commit88dada465e0fad35b5a535a042e0a93046ffff7c (patch)
treec191b61c7b55fb5cfb08b8baae6bc11a25062ca6 /test/grail.c
parent697b5b5c7d2b1c46387061fcbed24cbee51d98ce (diff)
Cleanup tapping and gesture code
Improved tapping quality with this patch. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
Diffstat (limited to 'test/grail.c')
-rw-r--r--test/grail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/grail.c b/test/grail.c
index eeaa088..c8c57cc 100644
--- a/test/grail.c
+++ b/test/grail.c
@@ -46,7 +46,7 @@ static int tp_get_clients(struct grail *ge,
46 46
47static void tp_event(struct grail *ge, const struct input_event *ev) 47static void tp_event(struct grail *ge, const struct input_event *ev)
48{ 48{
49 if (!grail_mask_get(flag_mask, GRAIL_TYPE_MOVE)) 49 if (!grail_mask_get(flag_mask, GRAIL_TYPE_POINTER))
50 return; 50 return;
51 fprintf(stderr, "event %d 0x%x %d\n", ev->type, ev->code, ev->value); 51 fprintf(stderr, "event %d 0x%x %d\n", ev->type, ev->code, ev->value);
52} 52}