diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-07-11 14:30:17 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2008-07-11 14:30:17 -0400 |
commit | 7e67d0163579a44f104e8f354a929ac9b33e4c21 (patch) | |
tree | 2e161cdada10dbb7435516abbc616404529e9f61 /src | |
parent | 9086d008fb8c3cde0633b90ce19ffbf4eded388d (diff) |
Fix cursor with multi-head and rotation
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_cursor.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/radeon_cursor.c b/src/radeon_cursor.c index c4472db9..d4804169 100644 --- a/src/radeon_cursor.c +++ b/src/radeon_cursor.c @@ -216,8 +216,10 @@ radeon_crtc_set_cursor_position (xf86CrtcPtr crtc, int x, int y) if (IS_AVIVO_VARIANT) { /* avivo cursor spans the full fb width */ - x += crtc->x; - y += crtc->y; + if (crtc->rotatedData == NULL) { + x += crtc->x; + y += crtc->y; + } avivo_lock_cursor(crtc, TRUE); OUTREG(AVIVO_D1CUR_POSITION + radeon_crtc->crtc_offset, ((xorigin ? 0 : x) << 16) | (yorigin ? 0 : y)); |