summaryrefslogtreecommitdiff
path: root/randr/randr.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@guitar.keithp.com>2006-09-18 12:18:22 -0700
committerKeith Packard <keithp@guitar.keithp.com>2006-09-18 12:18:22 -0700
commitafe5e9483b352ed06075ed68a6ffa50799194e2d (patch)
treef44e59a037f6132e3873609027c65c837bab4fbc /randr/randr.c
parent2be1ac15aee592782d7693b8de2c3815478a094e (diff)
RandR working with old clients and old API.
Diffstat (limited to 'randr/randr.c')
-rw-r--r--randr/randr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/randr/randr.c b/randr/randr.c
index 63d471ce0..926e32f1c 100644
--- a/randr/randr.c
+++ b/randr/randr.c
@@ -477,6 +477,7 @@ RRScanOldConfig (ScreenPtr pScreen, Rotation rotations)
if (!output)
return;
RROutputSetCrtcs (output, &crtc, 1);
+ RROutputSetCrtc (output, crtc);
RROutputSetConnection (output, RR_Connected);
}
@@ -552,8 +553,8 @@ RRScanOldConfig (ScreenPtr pScreen, Rotation rotations)
/* notice current mode */
if (newMode)
- RRCrtcSet (output->crtc, newMode, 0, 0, pScrPriv->rotation,
- 1, &output);
+ RRCrtcNotify (output->crtc, newMode, 0, 0, pScrPriv->rotation,
+ 1, &output);
}
#endif