Fix a bug where the cursor disappears. Committed on behalf of Shelley Gong
authornolan <nolan>
Thu, 3 Nov 2005 04:26:00 +0000 (04:26 +0000)
committernolan <nolan>
Thu, 3 Nov 2005 04:26:00 +0000 (04:26 +0000)
    (shelleygong@vmware.com).

src/vmware.c

index 1359143..b649e0b 100644 (file)
@@ -1084,8 +1084,10 @@ VMWAREPreDirtyBBUpdate(ScrnInfoPtr pScrn, int nboxes, BoxPtr boxPtr)
      */
     while (nboxes--) {
         if (BOX_INTERSECT(*boxPtr, pVMWARE->hwcur.box)) {
-           PRE_OP_HIDE_CURSOR();
-           pVMWARE->cursorExcludedForUpdate = TRUE;
+            if (!pVMWARE->cursorExcludedForUpdate) {
+                PRE_OP_HIDE_CURSOR();
+                pVMWARE->cursorExcludedForUpdate = TRUE;
+            }
            break;
         }
         boxPtr++;