projects
/
platform
/
upstream
/
xf86-video-intel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72e9099
)
sna: Enable coordinate transforms for native CRTC rotation
author
Chris Wilson
<chris@chris-wilson.co.uk>
Thu, 13 Feb 2014 14:46:39 +0000
(14:46 +0000)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Thu, 13 Feb 2014 14:55:30 +0000
(14:55 +0000)
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>
src/sna/sna_display.c
patch
|
blob
|
history
diff --git
a/src/sna/sna_display.c
b/src/sna/sna_display.c
index
32e74d0
..
5c0a5a3
100644
(file)
--- 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;