gnome-control-center/panels/wacom/calibrator
Carlos Garnacho b1ae5c734a wacom: Fix x/y ranges' swapping when calibrating on rotated screens
The previous axis swapping code would oddly rely on the input coordinates
remaining on untransformed device coordinates, while those are gotten on
screen coordinates (hence rotated), this would cause swapping not to kick
in, and result in swapped X/Y scaling to be applied to X/Y ranges.

So make the axis swapping code be calculated upon screen coordinates, as
the collected points already are, and swap the applied scalings if
necessary.

Also, the code that swapped coordinates before returning to the caller
would scramble min/max values when swapping x/y. Fix that too, minimum
and maximum should stay like that when swapping axes.

https://bugzilla.gnome.org/show_bug.cgi?id=732442
2014-07-01 18:38:22 +02:00
..
calibrator-gui.c Updated FSF's address 2014-01-29 11:27:38 +01:00
calibrator-gui.h wacom: Re-write gui_gtk in Clutter to introduce animations 2013-05-17 16:36:59 +02:00
calibrator.c wacom: Fix x/y ranges' swapping when calibrating on rotated screens 2014-07-01 18:38:22 +02:00
calibrator.h wacom: Re-write gui_gtk in Clutter to introduce animations 2013-05-17 16:36:59 +02:00
cc-clock-actor.c Updated FSF's address 2014-01-29 11:27:38 +01:00
cc-clock-actor.h Updated FSF's address 2014-01-29 11:27:38 +01:00
cc-target-actor.c Updated FSF's address 2014-01-29 11:27:38 +01:00
cc-target-actor.h Updated FSF's address 2014-01-29 11:27:38 +01:00
COPYING wacom: Add COPYING file for calibrator code 2012-01-11 12:03:43 +00:00
main.c wacom: Re-write gui_gtk in Clutter to introduce animations 2013-05-17 16:36:59 +02:00
Makefile.am wacom: Use AM_CPPFLAGS rather than INCLUDES 2014-06-25 12:46:43 +02:00