Allow cursor updates while unhidden

This change just adds a flag to our hardware cursor,
telling Xorg that it doesn't need to hide the cursor
when updating its shape. This fixes the cursor flicker
in X11.
This commit is contained in:
Micah Dowty
2009-05-12 16:46:00 -07:00
committed by Philip Langdale
parent dccc9376a4
commit bfa3dfc27b

View File

@@ -290,6 +290,7 @@ vmwareCursorInit(ScreenPtr pScreen)
infoPtr->MaxWidth = MAX_CURS;
infoPtr->MaxHeight = MAX_CURS;
infoPtr->Flags = HARDWARE_CURSOR_BIT_ORDER_MSBFIRST |
HARDWARE_CURSOR_UPDATE_UNHIDDEN |
HARDWARE_CURSOR_SOURCE_MASK_NOT_INTERLEAVED;
infoPtr->SetCursorColors = vmwareSetCursorColors;
infoPtr->SetCursorPosition = vmwareSetCursorPosition;