From 315b6d0a425d0257f226ee7032aca3ca31665e59 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 27 Mar 2008 11:46:39 -0700 Subject: Update RandR global transform when driver notifies of transform change. Need to compute and save the global transform when the driver changes it. --- randr/rrcrtc.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'randr/rrcrtc.c') 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; } -- cgit v1.2.3