summaryrefslogtreecommitdiff
path: root/src/grail-impl.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-08-26 16:23:38 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-08-26 16:23:38 +0200
commitbabe344373d036d57a270658d134d6c0b334f280 (patch)
tree28060c18592e11a3a31bd7db02b1f197b7d3b397 /src/grail-impl.h
parent3b776917d8037bec30a62b802433194ecead929f (diff)
Correct abs event handling
The current code lets abs events through during one-finger drags, and tapping does not work properly due to abs events not always being present during taps. Track the pointer position and emit abs events only if no gestures are in effect, and only if not explicitly filtered. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/grail-impl.h')
-rw-r--r--src/grail-impl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/grail-impl.h b/src/grail-impl.h
index ba7745a..66fe4c7 100644
--- a/src/grail-impl.h
+++ b/src/grail-impl.h
@@ -30,7 +30,8 @@ struct grail_impl {
30 struct touch_dev dev; 30 struct touch_dev dev;
31 struct evbuf evbuf; 31 struct evbuf evbuf;
32 int filter_abs; 32 int filter_abs;
33 int hack_status; 33 int pointer_status;
34 int pointer_x, pointer_y;
34}; 35};
35 36
36#endif 37#endif