diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-05 06:03:36 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-05 06:03:36 (GMT) |
commit | 150fefa6b1d6f4d6aa73258abe65af169fb7a5e5 (patch) | |
tree | 78458ee893724bcd390f27862e4d0d53af11910a /abs/core-testing/xorg-server/xserver-1.7.1-gamma-kdm-fix.patch | |
parent | 4695b42bfc2f8254e57152809625821902794925 (diff) | |
download | linhes_pkgbuild-150fefa6b1d6f4d6aa73258abe65af169fb7a5e5.zip linhes_pkgbuild-150fefa6b1d6f4d6aa73258abe65af169fb7a5e5.tar.gz linhes_pkgbuild-150fefa6b1d6f4d6aa73258abe65af169fb7a5e5.tar.bz2 |
xorg-server:Bumped/Updated for LinHES 7.
Diffstat (limited to 'abs/core-testing/xorg-server/xserver-1.7.1-gamma-kdm-fix.patch')
-rw-r--r-- | abs/core-testing/xorg-server/xserver-1.7.1-gamma-kdm-fix.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/abs/core-testing/xorg-server/xserver-1.7.1-gamma-kdm-fix.patch b/abs/core-testing/xorg-server/xserver-1.7.1-gamma-kdm-fix.patch new file mode 100644 index 0000000..c62837e --- /dev/null +++ b/abs/core-testing/xorg-server/xserver-1.7.1-gamma-kdm-fix.patch @@ -0,0 +1,34 @@ +From acc64ce5be7383c09e88a23aab06ebc2403f2ca3 Mon Sep 17 00:00:00 2001 +From: Bill Nottingham <notting@redhat.com> +Date: Fri, 6 Nov 2009 10:32:27 +1000 +Subject: [PATCH] fix KDM gamma issue on vt switch + +--- + hw/xfree86/modes/xf86RandR12.c | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +diff --git a/hw/xfree86/modes/xf86RandR12.c b/hw/xfree86/modes/xf86RandR12.c +index 6ea9d26..ece12b9 100644 +--- a/hw/xfree86/modes/xf86RandR12.c ++++ b/hw/xfree86/modes/xf86RandR12.c +@@ -1761,6 +1761,7 @@ xf86RandR12Init12 (ScreenPtr pScreen) + ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; + rrScrPrivPtr rp = rrGetScrPriv(pScreen); + XF86RandRInfoPtr randrp = XF86RANDRINFO(pScreen); ++ int i; + + rp->rrGetInfo = xf86RandR12GetInfo12; + rp->rrScreenSetSize = xf86RandR12ScreenSetSize; +@@ -1790,6 +1791,9 @@ xf86RandR12Init12 (ScreenPtr pScreen) + */ + if (!xf86RandR12SetInfo12 (pScreen)) + return FALSE; ++ for (i = 0; i < rp->numCrtcs; i++) { ++ xf86RandR12CrtcGetGamma(pScreen, rp->crtcs[i]); ++ } + return TRUE; + } + +-- +1.6.5.1 + |