-
Committer:
CI bot
-
Author(s):
Alberto Milone
-
Date:
2014-06-04 15:42:39 UTC
-
mfrom:
(4040.1.7 unity-settings-daemon)
-
Revision ID:
ps-jenkins@lists.canonical.com-20140604154239-jxkxdp1u5d8x2tq5
gsd-xrandr-manager.c: add support for mapping the main touchscreen onto the main display
This makes sure that the touch input device knows exactly the
area that represents the display when the screen configuration
changes.
We give the highest priority to outputs that use an embedded
display connector such as LVDS or eDP. If no embedded connector
can be found, we try to match the size reported by the touch
input device with the size reported by the EDID of the display.
Note: this doesn't cover the tablet use case.
This is a partial backport of the upstream code. I haven't
backported the new device mapper, as that's something that
would be best handled with a full sync with upstream (it's
too much code to backport).
Fixes LP: #1287341