[oe-commits] Benjamin Deering : xserver-xorg-1.10.1.901: fix screen rotation
git version control
git at git.openembedded.org
Thu Jun 2 20:01:27 UTC 2011
Module: openembedded.git
Branch: testing-next
Commit: 4c746a073cc7fd4b903d8ae9517d21b826f07f25
URL: http://git.openembedded.org/?p=openembedded.git&a=commit;h=4c746a073cc7fd4b903d8ae9517d21b826f07f25
Author: Benjamin Deering <ben_deering at swissmail.org>
Date: Fri May 27 00:51:57 2011 +0000
xserver-xorg-1.10.1.901: fix screen rotation
* This should fix screen rotation for 2 and 3 orientation
* this is still broken in 1.9.4
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../xserver-xorg-1.10.1.901/randr-support.patch | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/recipes/xorg-xserver/xserver-xorg-1.10.1.901/randr-support.patch b/recipes/xorg-xserver/xserver-xorg-1.10.1.901/randr-support.patch
index d870f39..258deb3 100644
--- a/recipes/xorg-xserver/xserver-xorg-1.10.1.901/randr-support.patch
+++ b/recipes/xorg-xserver/xserver-xorg-1.10.1.901/randr-support.patch
@@ -39,22 +39,22 @@ diff -ur xorg-server-1.10.1.901//hw/xfree86/common/xf86Xinput.c git/xorg-server-
+ case RR_Rotate_0:
+ swap_axes = 1;
+ invert[0] = 0;
-+ invert[1] = 0;
++ invert[1] = 0;
+ break;
+ case RR_Rotate_90:
+ swap_axes = 0;
+ invert[0] = 0;
-+ invert[1] = 1;
++ invert[1] = 1;
+ break;
+ case RR_Rotate_180:
+ swap_axes = 1;
-+ invert[0] = 0;
-+ invert[1] = 0;
++ invert[0] = 1;
++ invert[1] = 1;
+ break;
+ case RR_Rotate_270:
+ swap_axes = 0;
-+ invert[0] = 0;
-+ invert[1] = 1;
++ invert[0] = 1;
++ invert[1] = 0;
+ break;
+ }
+
More information about the Openembedded-commits
mailing list