diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2008-11-09 03:30:39 +0100 |
---|---|---|
committer | Henrik Rydberg <rydberg@euromail.se> | 2008-11-09 03:30:39 +0100 |
commit | 84f1dbb29462ec91850c04e0bba256668e584e00 (patch) | |
tree | 900fd38af5e84a9e92ae9ec71f536d18c92d0d61 | |
parent | 1a45bfa0c4f46c575d77537ee90c81487af04d14 (diff) | |
download | xorg-input-kobomultitouch-84f1dbb29462ec91850c04e0bba256668e584e00.tar.gz xorg-input-kobomultitouch-84f1dbb29462ec91850c04e0bba256668e584e00.tar.bz2 xorg-input-kobomultitouch-84f1dbb29462ec91850c04e0bba256668e584e00.zip |
under heavy load, it seems the event order becomes scrambled, and it is
possible to receive ABS_MT events outside of the MT synchronization
events.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
-rw-r--r-- | src/hwdata.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hwdata.c b/src/hwdata.c index 1882910..d39211f 100644 --- a/src/hwdata.c +++ b/src/hwdata.c @@ -49,6 +49,8 @@ bool read_hwdata(struct HWData *hw, const struct input_event* ev) } break; case EV_ABS: + if (hw->nfinger == DIM_FINGER) + break; switch (ev->code) { case ABS_MT_TOUCH_MAJOR: hw->finger[hw->nfinger].touch_major = ev->value; |