DescriptionFix touch scaling for high dpi windows.
Touch events in windows are always expressed in screen coordinates, even if
the target app is not dpi-aware. This patch determines the dpi scale used
by the OS, and re-scales touch events accordingly.
In some cases the touch events are sent to the wrong window. This is detected
and corrected.
BUG=175542
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185474
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186187
Patch Set 1 #Patch Set 2 : Update to use Metro/Win8-Friendly registry setting. #Patch Set 3 : Fix for metro mode #Patch Set 4 : Adding extra safety logic to address XP failure. #
Total comments: 3
Messages
Total messages: 12 (0 generated)
|