cursor fixes
This commit is contained in:
parent
20918ab480
commit
501dcf37aa
|
@ -492,12 +492,8 @@ ephyrCreateColormap (ColormapPtr pmap)
|
||||||
Bool
|
Bool
|
||||||
ephyrInitScreen (ScreenPtr pScreen)
|
ephyrInitScreen (ScreenPtr pScreen)
|
||||||
{
|
{
|
||||||
#ifdef TOUCHSCREEN
|
pScreen->CreateColormap = ephyrCreateColormap;
|
||||||
KdTsPhyScreen = pScreen->myNum;
|
return TRUE;
|
||||||
#endif
|
|
||||||
|
|
||||||
pScreen->CreateColormap = ephyrCreateColormap;
|
|
||||||
return TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool
|
Bool
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue