diff options
author | Keith Packard <keithp@keithp.com> | 2008-03-27 11:46:39 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2008-11-24 13:24:41 -0800 |
commit | 315b6d0a425d0257f226ee7032aca3ca31665e59 (patch) | |
tree | 5b495aa20319cdb22e26d24742702ca2a01db462 /randr/rrcrtc.c | |
parent | 5d9282fde919c936816a85c2a9c5734dc9d57cc2 (diff) |
Update RandR global transform when driver notifies of transform change.
Need to compute and save the global transform when the driver changes it.
Diffstat (limited to 'randr/rrcrtc.c')
-rw-r--r-- | randr/rrcrtc.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c index 1b6350eff..c237f03e6 100644 --- a/randr/rrcrtc.c +++ b/randr/rrcrtc.c @@ -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; } |