xserver-multidpi/hw
Peter Hutterer 21ea7ebb6a dix: scale y back instead of x up when pre-scaling coordinates
The peculiar way we handle coordinates results in relative coordinates on
absolute devices being added to the last value, then that value is mapped to
the screen (taking the device dimensions into account). From that mapped
value we get the final coordinates, both screen and device coordinates.

To avoid uneven scaling on relative coordinates, they are pre-scaled by
screen ratio:resolution:device ratio factor before being mapped. This
ensures that a circle drawn on the device is a circle on the screen.

Previously, we used the ratio to scale x up. Synaptics already does its own
scaling based on the resolution and that is done by scaling y down by the
ratio. So we can remove the code from the driver and get approximately the
same behaviour here.

Minor ABI bump, so we can remove this from synaptics.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Emmanuel Benisty <benisty.e@gmail.com>
2013-07-22 14:18:30 +10:00
..
dmx dmxVDLRead: if we opened a file, close it instead of leaking it 2013-04-24 14:22:36 -07:00
kdrive ephyr: add -resizeable to the man page 2013-05-15 09:36:00 +10:00
vfb vfb: Initialize the GLX extension again. 2012-11-21 11:13:55 +11:00
xfree86 dix: scale y back instead of x up when pre-scaling coordinates 2013-07-22 14:18:30 +10:00
xnest dix: Remove #includes of mibstore.h 2012-09-23 10:31:27 -07:00
xquartz Full support of sRGB capable fbconfigs. 2013-03-18 10:02:00 -07:00
xwin hw/xwin: Update manifest to target all architectures, not just x86 2013-06-10 15:48:34 +01:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00