From 5b424b562eee863b11571de4cd0019cd9bc5b379 Mon Sep 17 00:00:00 2001 From: Gustavo Pichorim Boiko Date: Mon, 23 Jul 2007 18:27:41 -0300 Subject: 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 --- randr/rrinfo.c | 1 - 1 file changed, 1 deletion(-) (limited to 'randr/rrinfo.c') 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)); -- cgit v1.2.3