summaryrefslogtreecommitdiff
path: root/xfixes
diff options
context:
space:
mode:
Diffstat (limited to 'xfixes')
-rwxr-xr-xxfixes/cursor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xfixes/cursor.c b/xfixes/cursor.c
index 2a42a0b2c..2c584f9f4 100755
--- a/xfixes/cursor.c
+++ b/xfixes/cursor.c
@@ -142,7 +142,8 @@ CursorDisplayCursor (DeviceIntPtr pDev,
CursorVisible = TRUE;
if (cs->pCursorHideCounts != NULL || !CursorVisible) {
- ret = (*pScreen->DisplayCursor) (pDev, pScreen, pInvisibleCursor);
+ ret = ((*pScreen->RealizeCursor)(pDev, pScreen, pInvisibleCursor) &&
+ (*pScreen->DisplayCursor) (pDev, pScreen, pInvisibleCursor));
} else {
ret = (*pScreen->DisplayCursor) (pDev, pScreen, pCursor);
}