summaryrefslogtreecommitdiff
path: root/src/radeon_dri.c
diff options
context:
space:
mode:
authorMichel Daenzer <michel@daenzer.net>2006-04-29 20:18:48 +0000
committerMichel Daenzer <michel@daenzer.net>2006-04-29 20:18:48 +0000
commitd705429c230c9cc1645ae540a51dba62cae9f23e (patch)
tree93a43d14cfa193d7ae6afd9abbeaa2976ee30bad /src/radeon_dri.c
parent6142cb079d4a5844e4863c800baf4ae19c636af5 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c
index c0591005..9f9895dc 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);
}