summaryrefslogtreecommitdiff
path: root/randr/rrinfo.c
diff options
context:
space:
mode:
authorGustavo Pichorim Boiko <boiko@mandriva.com>2007-07-23 18:27:41 -0300
committerKeith Packard <keithp@neko.keithp.com>2007-07-23 14:47:45 -0700
commit5b424b562eee863b11571de4cd0019cd9bc5b379 (patch)
tree535e321805973853b7fce6fb62730e1a70044eac /randr/rrinfo.c
parent7da38bb6a15247948c90e00a59230453fcf13cbd (diff)
Set the crtc before the output change is notified
Set the new randr crtc of the output before the output change notification is delivered to the clients. Remove RROutputSetCrtc as it is not really necessary. All we have to do is set the output's crtc on RRCrtcNotify
Diffstat (limited to 'randr/rrinfo.c')
-rw-r--r--randr/rrinfo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/randr/rrinfo.c b/randr/rrinfo.c
index 5ef1a6b83..858b1edfe 100644
--- a/randr/rrinfo.c
+++ b/randr/rrinfo.c
@@ -98,7 +98,6 @@ RRScanOldConfig (ScreenPtr pScreen, Rotation rotations)
if (!output)
return;
RROutputSetCrtcs (output, &crtc, 1);
- RROutputSetCrtc (output, crtc);
RROutputSetConnection (output, RR_Connected);
#ifdef RENDER
RROutputSetSubpixelOrder (output, PictureGetSubpixelOrder (pScreen));