-
由 Tai-hwa Liang 提交于
When lifing finger off the surface some versions of touchpad send movement packets with very low coordinates, which cause cursor to jump to the upper left corner of the screen. Let's ignore least significant bits of X and Y coordinates if higher bits are all zeroes and consider finger not touching the pad. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=43197Reported-and-tested-by: NAleksey Spiridonov <leks13@leks13.ru> Tested-by: NEddie Dunn <eddie.dunn@gmail.com> Tested-by: NJakub Luzny <limoto94@gmail.com> Tested-by: NOlivier Goffart <olivier@woboq.com> Signed-off-by: NTai-hwa Liang <avatar@sentelic.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
30ebb7fa