summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Vignatti <vignatti@c3sl.ufpr.br>2008-05-14 02:45:49 -0300
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-16 17:02:15 +0930
commit5af90025fee6a92e7d94642978feed21f902d0cb (patch)
tree07cb5faf5664705be44623abc75cf86fcc66374c
parent9fc94edfe3df4c4a84ad70714c0a4ef8bbf57fc9 (diff)
Remove redundancy.
The only function that cat set SWCursor before xf86DeviceCursorInitialize() is xf86InitCursor() when VCP and is created. Signed-off-by: Tiago Vignatti <vignatti@c3sl.ufpr.br> Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
-rw-r--r--hw/xfree86/ramdac/xf86Cursor.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/xfree86/ramdac/xf86Cursor.c b/hw/xfree86/ramdac/xf86Cursor.c
index 4d64f6218..2d69074c8 100644
--- a/hw/xfree86/ramdac/xf86Cursor.c
+++ b/hw/xfree86/ramdac/xf86Cursor.c
@@ -464,11 +464,8 @@ xf86DeviceCursorInitialize(DeviceIntPtr pDev, ScreenPtr pScreen)
if (pDev != inputInfo.pointer)
{
- if (!ScreenPriv->SWCursor)
- {
ScreenPriv->spriteFuncs->SetCursor(inputInfo.pointer, pScreen,
ScreenPriv->CurrentCursor, ScreenPriv->x, ScreenPriv->y);
- }
ScreenPriv->SWCursor = TRUE | XF86_FORCE_SW_CURSOR;
}