VirtualBox

Ignore:
Timestamp:
Jan 30, 2015 6:53:32 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
97980
Message:

Main and Additions/x11: remove VMMDEV_MOUSE_HOST_HAS_ABS_DEV (leaving the place-holder in the API of course) as it is not very useful.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/getmode.c

    r54040 r54054  
    252252static void updateUseHardwareCursor(VBOXPtr pVBox, uint32_t fCursorCapabilities)
    253253{
    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) >= 5
    259             /* As of this version (server 1.6) all major Linux releases
    260              * are known to handle USB tablets correctly. */
    261         || (fCursorCapabilities & VMMDEV_MOUSE_HOST_HAS_ABS_DEV)
    262 #endif
    263         )
    264         fGuestCanReportAbsolutePosition = true;
    265254    if (   !(fCursorCapabilities & VMMDEV_MOUSE_HOST_CANNOT_HWPOINTER)
    266255        && (fCursorCapabilities & VMMDEV_MOUSE_HOST_WANTS_ABSOLUTE))
    267         fHostWishesToReportAbsolutePosition = true;
    268     pVBox->fUseHardwareCursor = fGuestCanReportAbsolutePosition && fHostWishesToReportAbsolutePosition;
     256        pVBox->fUseHardwareCursor = true;
     257    else
     258        pVBox->fUseHardwareCursor = false;
    269259}
    270260
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette