]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - pkgs/xorg-x11-server/patches/xserver-1.7.1-gamma-kdm-fix.patch
Change file layout of the makefiles.
[people/pmueller/ipfire-3.x.git] / pkgs / xorg-x11-server / patches / xserver-1.7.1-gamma-kdm-fix.patch
1 From acc64ce5be7383c09e88a23aab06ebc2403f2ca3 Mon Sep 17 00:00:00 2001
2 From: Bill Nottingham <notting@redhat.com>
3 Date: Fri, 6 Nov 2009 10:32:27 +1000
4 Subject: [PATCH] fix KDM gamma issue on vt switch
5
6 ---
7 hw/xfree86/modes/xf86RandR12.c | 4 ++++
8 1 files changed, 4 insertions(+), 0 deletions(-)
9
10 diff --git a/hw/xfree86/modes/xf86RandR12.c b/hw/xfree86/modes/xf86RandR12.c
11 index 6ea9d26..ece12b9 100644
12 --- a/hw/xfree86/modes/xf86RandR12.c
13 +++ b/hw/xfree86/modes/xf86RandR12.c
14 @@ -1761,6 +1761,7 @@ xf86RandR12Init12 (ScreenPtr pScreen)
15 ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
16 rrScrPrivPtr rp = rrGetScrPriv(pScreen);
17 XF86RandRInfoPtr randrp = XF86RANDRINFO(pScreen);
18 + int i;
19
20 rp->rrGetInfo = xf86RandR12GetInfo12;
21 rp->rrScreenSetSize = xf86RandR12ScreenSetSize;
22 @@ -1790,6 +1791,9 @@ xf86RandR12Init12 (ScreenPtr pScreen)
23 */
24 if (!xf86RandR12SetInfo12 (pScreen))
25 return FALSE;
26 + for (i = 0; i < rp->numCrtcs; i++) {
27 + xf86RandR12CrtcGetGamma(pScreen, rp->crtcs[i]);
28 + }
29 return TRUE;
30 }
31
32 --
33 1.6.5.1
34