Merge branch 'randr-1.2-origin' into randr-1.2

This commit is contained in:
Keith Packard 2006-11-04 17:43:19 -08:00
commit 50504c68e1

View File

@ -174,7 +174,8 @@ RRCrtcNotify (RRCrtcPtr crtc,
if (crtc->mode)
RRModeDestroy (crtc->mode);
crtc->mode = mode;
mode->refcnt++;
if (mode != NULL)
mode->refcnt++;
RRCrtcChanged (crtc, TRUE);
}
if (x != crtc->x)