Update RandR global transform when driver notifies of transform change.
Need to compute and save the global transform when the driver changes it.
This commit is contained in:
parent
5d9282fde9
commit
315b6d0a42
|
@ -233,6 +233,15 @@ RRCrtcNotify (RRCrtcPtr crtc,
|
|||
RRTransformCopy (&crtc->client_current_transform, transform);
|
||||
RRCrtcChanged (crtc, TRUE);
|
||||
}
|
||||
if (crtc->changed)
|
||||
{
|
||||
RRTransformCompute (x, y,
|
||||
mode->mode.width, mode->mode.height,
|
||||
rotation,
|
||||
&crtc->client_current_transform,
|
||||
&crtc->transform, &crtc->f_transform,
|
||||
&crtc->f_inverse);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue