mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-02 04:58:01 +02:00
Merge branch 'randr-1.2-origin' into randr-1.2
This commit is contained in:
commit
50504c68e1
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue