diff options
author | Eric Anholt <eric@anholt.net> | 2007-02-02 17:34:41 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-02-02 17:34:41 -0800 |
commit | 76a4f2eea826036e2ac16b7e8c61ab946038c120 (patch) | |
tree | ec38cde8685037d7eb90e8c9b833b60b7bba72da /src/i830_cursor.c | |
parent | 1ba45a3fcd40aaf4d373447fb9f252ca053f9105 (diff) |
Fix bad offsets in "right" rotation of the CRTC in cursor and update handling.
Diffstat (limited to 'src/i830_cursor.c')
-rw-r--r-- | src/i830_cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_cursor.c b/src/i830_cursor.c index 464eb6dd..70a8d52b 100644 --- a/src/i830_cursor.c +++ b/src/i830_cursor.c @@ -510,7 +510,7 @@ I830SetCursorPosition(ScrnInfoPtr pScrn, int x, int y) hotspoty = I810_CURSOR_Y; break; case RR_Rotate_270: - thisx = mode->VDisplay - (root_y - crtc->y); + thisx = mode->HDisplay - (root_y - crtc->y); thisy = (root_x - crtc->x); hotspotx = I810_CURSOR_Y; break; |