cursor fixes
This commit is contained in:
parent
20918ab480
commit
501dcf37aa
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue