summaryrefslogtreecommitdiff
path: root/randr
diff options
context:
space:
mode:
authorGustavo Pichorim Boiko <boiko@mandriva.com>2007-07-24 16:19:19 -0300
committerMichel Dänzer <michel@tungstengraphics.com>2007-07-25 18:12:47 +0200
commit8d230319040f0a7f72231da2bf5ec97dc3612e21 (patch)
treec51cf421f2ce709c656f3bb49fd40156858a8194 /randr
parent0f057ebb272f0ee0b51b9ab37d4b07da0924fec4 (diff)
Fix the output->crtc initialization in the old randr setup
Diffstat (limited to 'randr')
-rw-r--r--randr/rrinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/randr/rrinfo.c b/randr/rrinfo.c
index 858b1edfe..bd5d5b1bb 100644
--- a/randr/rrinfo.c
+++ b/randr/rrinfo.c
@@ -98,6 +98,7 @@ RRScanOldConfig (ScreenPtr pScreen, Rotation rotations)
if (!output)
return;
RROutputSetCrtcs (output, &crtc, 1);
+ output->crtc = crtc;
RROutputSetConnection (output, RR_Connected);
#ifdef RENDER
RROutputSetSubpixelOrder (output, PictureGetSubpixelOrder (pScreen));