DescriptionChrome OS Touchpad Settings: Always update natural scrolling pref.
Natural (aka australian) scrolling occurs outside Chrome in the X11
touchpad driver. Chrome dictates via an inputcontrol script what the
value (true/false) should be. The script notes (in the user's homedir)
what the last set value is so that added devices get it applied.
Unfortunately, what was happening was Chrome would update the pref
before the user logged in, so the inputcontrol script couldn't make a
note. Later, when a user was logged in and a new device was attached,
the script wouldn't know if australian scrolling should be on or off.
To fix, we always set australian scrolling whenever we consider
sending touchpad value changes to the inputcontrol script.
BUG=chromium:406480
TEST=Tested that when user logs in, chrome always sends the current
value of natural scrolling to the inputcontrol script. Also tested
that changing non-mouse/tp settings doesn't trigger calls to
inputcontrol script.
Committed: https://crrev.com/dc6bae3bdc5154b73600a1180c0a82859b271a3f
Cr-Commit-Position: refs/heads/master@{#294058}
Patch Set 1 #Patch Set 2 : add comment #Messages
Total messages: 7 (2 generated)
|