diff options
author | Michel Daenzer <michel@daenzer.net> | 2006-04-29 20:18:48 +0000 |
---|---|---|
committer | Michel Daenzer <michel@daenzer.net> | 2006-04-29 20:18:48 +0000 |
commit | d705429c230c9cc1645ae540a51dba62cae9f23e (patch) | |
tree | 93a43d14cfa193d7ae6afd9abbeaa2976ee30bad /src/radeon_dri.c | |
parent | 6142cb079d4a5844e4863c800baf4ae19c636af5 (diff) |
Fix tests for (un)forcing HW cursor. The broken tests caused problems when
switching to console with 3D clients running.
Diffstat (limited to 'src/radeon_dri.c')
-rw-r--r-- | src/radeon_dri.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c index c059100..9f9895d 100644 --- a/src/radeon_dri.c +++ b/src/radeon_dri.c @@ -1990,7 +1990,7 @@ static void RADEONDRITransitionTo3d(ScreenPtr pScreen) RADEONChangeSurfaces(pScrn); RADEONEnablePageFlip(pScreen); - if (info->cursor_offset != 0) + if (info->cursor) xf86ForceHWCursor (pScreen, TRUE); } @@ -2028,7 +2028,7 @@ static void RADEONDRITransitionTo2d(ScreenPtr pScreen) RADEONChangeSurfaces(pScrn); - if (info->cursor_offset != 0) + if (info->cursor) xf86ForceHWCursor (pScreen, FALSE); } |