diff options
author | Micah Dowty <micah@vmware.com> | 2009-05-12 16:46:00 -0700 |
---|---|---|
committer | Philip Langdale <philipl@fido2.homeip.net> | 2009-05-12 16:46:00 -0700 |
commit | bfa3dfc27b05d4a2deff230f8241bd44f72fb7a0 (patch) | |
tree | 695a466264cec395ba22fb4aaa289bbee3c0562c /src/vmwarecurs.c | |
parent | dccc9376a4fb1cba9c35b7617989608497fca7be (diff) |
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.
Diffstat (limited to 'src/vmwarecurs.c')
-rw-r--r-- | src/vmwarecurs.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |