From e35017e36e45c57ea9847eb5c8466cac3c4d2cc4 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 13 Feb 2014 14:46:39 +0000 Subject: [PATCH] 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 --- src/sna/sna_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;