cursor fixes

This commit is contained in:
Matthew Allum 2004-09-08 11:31:49 +00:00
parent 20918ab480
commit 501dcf37aa
2 changed files with 9 additions and 11 deletions

View File

@ -492,12 +492,8 @@ ephyrCreateColormap (ColormapPtr pmap)
Bool
ephyrInitScreen (ScreenPtr pScreen)
{
#ifdef TOUCHSCREEN
KdTsPhyScreen = pScreen->myNum;
#endif
pScreen->CreateColormap = ephyrCreateColormap;
return TRUE;
pScreen->CreateColormap = ephyrCreateColormap;
return TRUE;
}
Bool

View File

@ -37,11 +37,6 @@ InitCard (char *name)
EPHYR_DBG("mark");
if (hostx_want_host_cursor())
{
ephyrFuncs.initCursor = &ephyrCursorInit;
ephyrFuncs.enableCursor = &ephyrCursorEnable;
}
KdCardInfoAdd (&ephyrFuncs, &attr, 0);
}
@ -100,6 +95,13 @@ void
OsVendorInit (void)
{
EPHYR_DBG("mark");
if (hostx_want_host_cursor())
{
ephyrFuncs.initCursor = &ephyrCursorInit;
ephyrFuncs.enableCursor = &ephyrCursorEnable;
}
KdOsInit (&EphyrOsFuncs);
}