xnest: call miDCInitialize rather than miPointerInitialize.
This unfortunately gives us a lots of artefacts, so cursor rendering cannot be assumed complete. But it's better than crashing.
This commit is contained in:
parent
a7d4bec884
commit
34429d16d3
|
@ -305,8 +305,7 @@ xnestOpenScreen(int index, ScreenPtr pScreen, int argc, char *argv[])
|
||||||
pScreen->blockData = NULL;
|
pScreen->blockData = NULL;
|
||||||
pScreen->wakeupData = NULL;
|
pScreen->wakeupData = NULL;
|
||||||
|
|
||||||
miPointerInitialize (pScreen, &xnestPointerSpriteFuncs,
|
miDCInitialize (pScreen, &xnestPointerCursorFuncs);
|
||||||
&xnestPointerCursorFuncs, True);
|
|
||||||
|
|
||||||
pScreen->mmWidth = xnestWidth * DisplayWidthMM(xnestDisplay,
|
pScreen->mmWidth = xnestWidth * DisplayWidthMM(xnestDisplay,
|
||||||
DefaultScreen(xnestDisplay)) /
|
DefaultScreen(xnestDisplay)) /
|
||||||
|
|
Loading…
Reference in New Issue
Block a user