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:
parent
72e909953c
commit
e35017e36e
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue