Changeset 22271 in vbox
- Timestamp:
- Aug 14, 2009 8:39:08 PM (15 years ago)
- Location:
- trunk/src/VBox/Devices/VMMDev
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VMMDev.cpp
r22270 r22271 707 707 NULL); 708 708 } 709 pThis->fHostCursorRequested = fVisible; 709 710 pRequestHeader->rc = VINF_SUCCESS; 710 711 } … … 2085 2086 2086 2087 2087 #define VMMDEV_SSM_VERSION 92088 #define VMMDEV_SSM_VERSION 10 2088 2089 2089 2090 /** … … 2120 2121 #endif /* VBOX_WITH_HGCM */ 2121 2122 2123 SSMR3PutU32(pSSMHandle, pThis->fHostCursorRequested); 2124 2122 2125 return VINF_SUCCESS; 2123 2126 } … … 2171 2174 #endif /* VBOX_WITH_HGCM */ 2172 2175 2176 if ( SSM_VERSION_MAJOR(u32Version) == 0 2177 && SSM_VERSION_MINOR(u32Version) >= 10) 2178 SSMR3GetU32(pSSMHandle, &pThis->fHostCursorRequested); 2179 2173 2180 /* 2174 2181 * On a resume, we send the capabilities changed message so … … 2177 2184 Log(("vmmdevLoadState: capabilities changed (%x), informing connector\n", pThis->mouseCapabilities)); 2178 2185 if (pThis->pDrv) 2186 { 2179 2187 pThis->pDrv->pfnUpdateMouseCapabilities(pThis->pDrv, pThis->mouseCapabilities); 2188 if ( SSM_VERSION_MAJOR(u32Version) == 0 2189 && SSM_VERSION_MINOR(u32Version) >= 10) 2190 pThis->pDrv->pfnUpdatePointerShape(pThis->pDrv, 2191 pThis->fHostCursorRequested, 2192 0, 2193 0, 0, 2194 0, 0, 2195 NULL); 2196 } 2180 2197 2181 2198 /* Reestablish the acceleration status. */ … … 2473 2490 pThis->pDrv->pfnUpdateMouseCapabilities(pThis->pDrv, pThis->mouseCapabilities); 2474 2491 } 2492 pThis->fHostCursorRequested = false; 2475 2493 2476 2494 pThis->hypervisorSize = 0; -
trunk/src/VBox/Devices/VMMDev/VMMDevState.h
r22270 r22271 44 44 uint32_t mouseXAbs; 45 45 uint32_t mouseYAbs; 46 /** Does the guest currently want the host pointer to be shown? */ 47 uint32_t fHostCursorRequested; 46 48 47 49 /** Pointer to device instance. */
Note:
See TracChangeset
for help on using the changeset viewer.