Changeset 54495 in vbox
- Timestamp:
- Feb 25, 2015 1:47:58 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 98604
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxVideo.h
r53965 r54495 1165 1165 * expressed. This information remains valid until the next VBVA resize event 1166 1166 * for any screen, at which time it is reset to the bounding rectangle of all 1167 * virtual screens .1167 * virtual screens and must be re-set. 1168 1168 * @see VBVA_REPORT_INPUT_MAPPING. */ 1169 1169 typedef struct VBVAREPORTINPUTMAPPING -
trunk/src/VBox/Main/include/DisplayImpl.h
r54053 r54495 126 126 virtual HRESULT i_reportHostCursorCapabilities(uint32_t fCapabilitiesAdded, uint32_t fCapabilitiesRemoved) = 0; 127 127 virtual HRESULT i_reportHostCursorPosition(int32_t x, int32_t y) = 0; 128 virtual bool i_isInputMappingSet(void) = 0; 128 129 }; 129 130 … … 205 206 virtual HRESULT i_reportHostCursorCapabilities(uint32_t fCapabilitiesAdded, uint32_t fCapabilitiesRemoved); 206 207 virtual HRESULT i_reportHostCursorPosition(int32_t x, int32_t y); 208 virtual bool i_isInputMappingSet(void) 209 { 210 return cxInputMapping != 0 && cyInputMapping != 0; 211 } 207 212 208 213 static const PDMDRVREG DrvReg; -
trunk/src/VBox/Main/src-client/MouseImpl.cpp
r54054 r54495 790 790 if (pfValid) 791 791 *pfValid = true; 792 if (!(mfVMMDevGuestCaps & VMMDEV_MOUSE_NEW_PROTOCOL) )792 if (!(mfVMMDevGuestCaps & VMMDEV_MOUSE_NEW_PROTOCOL) && !pDisplay->i_isInputMappingSet()) 793 793 { 794 794 ULONG displayWidth, displayHeight; -
trunk/src/VBox/Main/testcase/tstMouseImpl.cpp
r53969 r54495 47 47 { return S_OK; } 48 48 virtual HRESULT i_reportHostCursorPosition(int32_t x, int32_t y) { return S_OK; } 49 virtual bool i_isInputMappingSet() { return true; } 49 50 }; 50 51
Note:
See TracChangeset
for help on using the changeset viewer.