aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xorg-xserver
diff options
context:
space:
mode:
authorBenjamin Deering <ben_deering@swissmail.org>2011-05-27 00:51:57 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2011-05-27 17:13:20 +0200
commit4c746a073cc7fd4b903d8ae9517d21b826f07f25 (patch)
tree49c60d1c0d1c250c794f8290d1bc97b52735255b /recipes/xorg-xserver
parent06addb6a8da6fef865880db3d03fbf334292e043 (diff)
downloadopenembedded-4c746a073cc7fd4b903d8ae9517d21b826f07f25.tar.gz
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@gmail.com>
Diffstat (limited to 'recipes/xorg-xserver')
-rw-r--r--recipes/xorg-xserver/xserver-xorg-1.10.1.901/randr-support.patch12
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 d870f3972e..258deb3eb4 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;
+ }
+