summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-06-08 23:08:34 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-06-08 23:28:28 +0930
commit34429d16d319ef2709c22a5c22f45d0e82c78b20 (patch)
treed52bbc20327e9531181d2b2c3bb34be9b9815b47
parenta7d4bec884c24c0e1792fd7d6677cdd0a69978e3 (diff)
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.
-rw-r--r--hw/xnest/Screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/xnest/Screen.c b/hw/xnest/Screen.c
index 61a325f3c..11c180bbb 100644
--- a/hw/xnest/Screen.c
+++ b/hw/xnest/Screen.c
@@ -305,8 +305,7 @@ xnestOpenScreen(int index, ScreenPtr pScreen, int argc, char *argv[])
pScreen->blockData = NULL;
pScreen->wakeupData = NULL;
- miPointerInitialize (pScreen, &xnestPointerSpriteFuncs,
- &xnestPointerCursorFuncs, True);
+ miDCInitialize (pScreen, &xnestPointerCursorFuncs);
pScreen->mmWidth = xnestWidth * DisplayWidthMM(xnestDisplay,
DefaultScreen(xnestDisplay)) /