xserver: Branch 'master'

Matthias Hopf mhopf at kemper.freedesktop.org
Tue Jun 2 09:46:19 PDT 2009


 hw/xfree86/modes/xf86Crtc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 75795637c7160f1579dbe81c2d7600e85b1d141f
Author: Matthias Hopf <mhopf at suse.de>
Date:   Tue Jun 2 18:41:36 2009 +0200

    Revert "randr: Setting gamma: inverse logic looks more sane"
    
    This reverts commit 79138eec1b49cbaca6a16f2bdd8579b5828aeb28.

diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
index 353b268..0ab2f3d 100644
--- a/hw/xfree86/modes/xf86Crtc.c
+++ b/hw/xfree86/modes/xf86Crtc.c
@@ -353,7 +353,7 @@ xf86CrtcSetModeTransform (xf86CrtcPtr crtc, DisplayModePtr mode, Rotation rotati
     }
 
     /* Only upload when needed, to avoid unneeded delays. */
-    if (crtc->active)
+    if (!crtc->active)
 	crtc->funcs->gamma_set(crtc, crtc->gamma_red, crtc->gamma_green,
                                             crtc->gamma_blue, crtc->gamma_size);
 


More information about the xorg-commit mailing list