DescriptionScaling scroll/fling events in multi-monitor setup
The CL adds an event filter that transforms input event properties
in the extended desktop environment. It currently scales scroll/fling
events' offset values based on the following logic:
1. Linear scaling w.r.t. the device scale factor, which is 2x for
highDPI displays.
2. 1.2x scaling for external displays, since they are usually larger
than internal ones.
Both scalings can stack on each other, i.e. you can get as high as
a 2.4x boost if you have a high DPI external display.
Contributed by sheckylin@chromium.org
BUG=chromium:166392
TEST=Tested on link w/o external display.
Change-Id: Ie29e03fcf9f6e5ae1dd6231990103237c3129fd6
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176038
Patch Set 1 #Patch Set 2 : Fix lint errors #
Total comments: 1
Patch Set 3 : Rescale -> Scale #Patch Set 4 : Rescale -> scale #
Total comments: 5
Patch Set 5 : Addressing Ben's comment #
Messages
Total messages: 8 (0 generated)
|