summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-05-24 09:14:27 -0700
committerPeter Hutterer <peter.hutterer@who-t.net>2010-06-11 10:40:54 +1000
commit3ad3592820a8beeb724575fb7ae7f3e2f3560030 (patch)
tree03d10dba73f17a78ee1bc8fac4606a925c681047
parentb65c5be170835db2282192381ef411997e61a6f1 (diff)
xnest: Don't ignore errors from DeviceCursorInitialize.
Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> (cherry picked from commit bf9b64eefbadbf299d3b841c1890bfcaef5aab1b)
-rw-r--r--hw/xnest/Cursor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/xnest/Cursor.c b/hw/xnest/Cursor.c
index 12f47e725..d9f5dd6cb 100644
--- a/hw/xnest/Cursor.c
+++ b/hw/xnest/Cursor.c
@@ -167,8 +167,7 @@ xnestDeviceCursorInitialize(DeviceIntPtr pDev, ScreenPtr pScreen)
pScreenPriv = (xnestCursorFuncPtr)
dixLookupPrivate(&pScreen->devPrivates, xnestCursorScreenKey);
- pScreenPriv->spriteFuncs->DeviceCursorInitialize(pDev, pScreen);
- return TRUE;
+ return pScreenPriv->spriteFuncs->DeviceCursorInitialize(pDev, pScreen);
}
void