Merge branch 'randr-1.2-origin' into randr-1.2
This commit is contained in:
commit
50504c68e1
|
@ -174,7 +174,8 @@ RRCrtcNotify (RRCrtcPtr crtc,
|
||||||
if (crtc->mode)
|
if (crtc->mode)
|
||||||
RRModeDestroy (crtc->mode);
|
RRModeDestroy (crtc->mode);
|
||||||
crtc->mode = mode;
|
crtc->mode = mode;
|
||||||
mode->refcnt++;
|
if (mode != NULL)
|
||||||
|
mode->refcnt++;
|
||||||
RRCrtcChanged (crtc, TRUE);
|
RRCrtcChanged (crtc, TRUE);
|
||||||
}
|
}
|
||||||
if (x != crtc->x)
|
if (x != crtc->x)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user