diff options
author | Dave Airlie <airlied@redhat.com> | 2007-11-19 16:35:05 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2007-11-19 16:35:05 +1000 |
commit | e258fbe411d255a1044b61d7ff738aee3fb5b7f4 (patch) | |
tree | cd7e9afa83e4d66fe3ee1f63649849122e05a7e2 /src/radeon_cursor.c | |
parent | fca47ad083449f4cf9063dd970cdcebea6a7f110 (diff) |
makes 2-headed cursor work
Diffstat (limited to 'src/radeon_cursor.c')
-rw-r--r-- | src/radeon_cursor.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon_cursor.c b/src/radeon_cursor.c index 948ecd4e..bf66516b 100644 --- a/src/radeon_cursor.c +++ b/src/radeon_cursor.c @@ -202,6 +202,9 @@ radeon_crtc_set_cursor_position (xf86CrtcPtr crtc, int x, int y) if (y < 0) y = 0; + /* avivo cursor spans the full fb width */ + x += crtc->x; + y += crtc->y; OUTREG(AVIVO_D1CUR_POSITION + radeon_crtc->crtc_offset, (x << 16) | y); radeon_crtc->cursor_x = x; radeon_crtc->cursor_y = y; |