mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-30 23:48:02 +02:00
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
127068ac7b
commit
e6f10f62f7
1 changed files with 9 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue