gnome-control-center r9044 - trunk/capplets/display
- From: jensg svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-control-center r9044 - trunk/capplets/display
- Date: Tue, 7 Oct 2008 16:57:20 +0000 (UTC)
Author: jensg
Date: Tue Oct 7 16:57:20 2008
New Revision: 9044
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=9044&view=rev
Log:
2008-10-07 Jens Granseuer <jensgr gmx net>
* xrandr-capplet.c: (paint_output): fix preview orientation when using
left or right rotation. The XRandR coordinate system is rotated
counter-clockwise (bug #555241)
Modified:
trunk/capplets/display/ChangeLog
trunk/capplets/display/xrandr-capplet.c
Modified: trunk/capplets/display/xrandr-capplet.c
==============================================================================
--- trunk/capplets/display/xrandr-capplet.c (original)
+++ trunk/capplets/display/xrandr-capplet.c Tue Oct 7 16:57:20 2008
@@ -1406,7 +1406,7 @@
}
else if (output->rotation & GNOME_RR_ROTATION_90)
{
- angle = G_PI / 2;
+ angle = 1.5 * G_PI;
}
else if (output->rotation & GNOME_RR_ROTATION_180)
{
@@ -1414,7 +1414,7 @@
}
else if (output->rotation & GNOME_RR_ROTATION_270)
{
- angle = 1.5 * G_PI;
+ angle = G_PI / 2;
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]