OSDN Git Service

inputflinger: fix relative mouse movement android-x86-9.0-r1
authorChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 21 Feb 2020 07:52:13 +0000 (15:52 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 24 Feb 2020 10:27:55 +0000 (18:27 +0800)
commit4f151248bf00057ebab7c63257bb08026398eab4
tree2834164c46f12e61d42088211585b1b9faae2bb5
parentf09ee697b6319725243b7cd97ce732775066a1ff
inputflinger: fix relative mouse movement

Since commit 78f97b326 ("Support pointer capture in InputReader") the
logic to determine whether mouse input is relative was changed.
However, commit 4d8be8c was forward ported from nougat-x86. It doesn't
consider that.

Fixes: 4d8be8c ("inputflinger: treat tablet-style inputs as absolute coordinate mouse pointer")
Reported-and-tested-by: MrARM Slack <mrarm.slack@gmail.com>
services/inputflinger/InputReader.cpp