Bool hidden = pVMWARE->mouseHidden;
vmwarePaintWindow(WindowPtr pWin, RegionPtr pRegion, int what){    VMWAREPtr pVMWARE = VMWAREPTR(infoFromScreen(pWin->drawable.pScreen));    TRACEPOINT    /* Accelerate solid fills */    if ((pVMWARE->vmwareCapability & SVGA_CAP_RECT_FILL) && 	((what == PW_BACKGROUND && pWin->backgroundState == BackgroundPixel)	    || (what == PW_BORDER && pWin->borderIsPixel))) {	BoxPtr pBB;	Bool hidden = pVMWARE->mouseHidden;	pBB = REGION_EXTENTS(pWin->drawable.pScreen, pRegion);	if (!hidden) {	    HIDE_CURSOR(pVMWARE, *pBB);	}	accelPaintWindow(pVMWARE, pWin, pRegion, what, pBB);	if (!hidden) {	    SHOW_CURSOR(pVMWARE, *pBB);	}	UPDATE_ACCEL_AREA(pVMWARE, *pBB);	/* vmwareWaitForFB(); */ /* XXX */	return;    }    if (pVMWARE->vmwareBBLevel == 0) {	BoxPtr pBB;	pBB = REGION_EXTENTS(pWin->drawable.pScreen, pRegion);	HIDE_CURSOR(pVMWARE, *pBB);	vmwareWaitForFB(pVMWARE);	pVMWARE->vmwareBBLevel++;	pVMWARE->ScrnFuncs.PaintWindowBackground(pWin, pRegion, what);	pVMWARE->vmwareBBLevel--;	vmwareSendSVGACmdUpdate(pVMWARE, pBB);	SHOW_CURSOR(pVMWARE, *pBB);    } else {	VmwareLog(("vmwarePaintWindow not called at top level\n"));	vmwareWaitForFB(pVMWARE);	pVMWARE->ScrnFuncs.PaintWindowBackground(pWin, pRegion, what);    }}