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,10 +492,6 @@ ephyrCreateColormap (ColormapPtr pmap)
Bool Bool
ephyrInitScreen (ScreenPtr pScreen) ephyrInitScreen (ScreenPtr pScreen)
{ {
#ifdef TOUCHSCREEN
KdTsPhyScreen = pScreen->myNum;
#endif
pScreen->CreateColormap = ephyrCreateColormap; pScreen->CreateColormap = ephyrCreateColormap;
return TRUE; return TRUE;
} }

View File

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