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:
Keith Packard 2008-03-27 11:46:39 -07:00
parent 5d9282fde9
commit 315b6d0a42

View File

@ -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;
}