Changeset 54054 in vbox for trunk/src/VBox/Additions/x11/vboxvideo
- Timestamp:
- Jan 30, 2015 6:53:32 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 97980
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/getmode.c
r54040 r54054 252 252 static void updateUseHardwareCursor(VBOXPtr pVBox, uint32_t fCursorCapabilities) 253 253 { 254 bool fGuestCanReportAbsolutePosition = false;255 bool fHostWishesToReportAbsolutePosition = false;256 257 if ( (fCursorCapabilities & VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE)258 #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 5259 /* As of this version (server 1.6) all major Linux releases260 * are known to handle USB tablets correctly. */261 || (fCursorCapabilities & VMMDEV_MOUSE_HOST_HAS_ABS_DEV)262 #endif263 )264 fGuestCanReportAbsolutePosition = true;265 254 if ( !(fCursorCapabilities & VMMDEV_MOUSE_HOST_CANNOT_HWPOINTER) 266 255 && (fCursorCapabilities & VMMDEV_MOUSE_HOST_WANTS_ABSOLUTE)) 267 fHostWishesToReportAbsolutePosition = true; 268 pVBox->fUseHardwareCursor = fGuestCanReportAbsolutePosition && fHostWishesToReportAbsolutePosition; 256 pVBox->fUseHardwareCursor = true; 257 else 258 pVBox->fUseHardwareCursor = false; 269 259 } 270 260
Note:
See TracChangeset
for help on using the changeset viewer.