VirtualBox

Changeset 28100 in vbox


Ignore:
Timestamp:
Apr 8, 2010 3:40:31 PM (15 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo: let the host draw the pointer if we are using an absolute pointing device

File:
1 edited

Legend:

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

    r27976 r28100  
    134134    if (rc)
    135135    {
    136         if (fFeatures & VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE)
     136        if (   (fFeatures & VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE)
     137#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 5
     138                /* As of this version (server 1.6) all major Linux releases
     139                 * are known to handle USB tablets correctly. */
     140            || (fFeatures & VMMDEV_MOUSE_HOST_HAS_ABS_DEV)
     141#endif
     142            )
    137143            /* Assume this will never be unloaded as long as the X session is
    138144             * running. */
    139             pVBox->mouseDriverLoaded = TRUE;
     145            pVBox->guestCanAbsolute = TRUE;
    140146        if (   (fFeatures & VMMDEV_MOUSE_HOST_CANNOT_HWPOINTER)
    141             || !pVBox->mouseDriverLoaded
     147            || !pVBox->guestCanAbsolute
    142148            || !(fFeatures & VMMDEV_MOUSE_HOST_CAN_ABSOLUTE)
    143149           )
Note: See TracChangeset for help on using the changeset viewer.

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