From bfa3dfc27b05d4a2deff230f8241bd44f72fb7a0 Mon Sep 17 00:00:00 2001 From: Micah Dowty Date: Tue, 12 May 2009 16:46:00 -0700 Subject: [PATCH] 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. --- src/vmwarecurs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vmwarecurs.c b/src/vmwarecurs.c index ddd98bc..b7c61fa 100644 --- a/src/vmwarecurs.c +++ b/src/vmwarecurs.c @@ -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; -- 2.7.4