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>
This commit is contained in:
Chris Wilson 2014-02-13 14:46:39 +00:00
parent 72e909953c
commit e35017e36e
1 changed files with 1 additions and 1 deletions

View File

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