diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-02-13 14:46:39 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-02-13 14:55:30 +0000 |
commit | e35017e36e45c57ea9847eb5c8466cac3c4d2cc4 (patch) | |
tree | b960a5b3585358f1929015782328a5d99a3eb912 /src | |
parent | 72e909953c1865f86fbd6325ff807d7c7357af5f (diff) |
sna: Enable coordinate transforms for native CRTC rotation
Otherwise X tells Clients that the cursor is still in the unrotated
location when it appears rotated on the display.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/sna_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index 32e74d0b..5c0a5a3e 100644 --- a/src/sna/sna_display.c +++ b/src/sna/sna_display.c @@ -1591,7 +1591,7 @@ static void sna_crtc_randr(xf86CrtcPtr crtc) #endif crtc->transform_in_use = TRUE; } else - crtc->transform_in_use = FALSE; + crtc->transform_in_use = sna_crtc->rotation != RR_Rotate_0; crtc->crtc_to_framebuffer = crtc_to_fb; crtc->f_crtc_to_framebuffer = f_crtc_to_fb; |