VirtualBox

Changeset 54054 in vbox for trunk/src/VBox/Main


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/Main/src-client/MouseImpl.cpp

    r53965 r54054  
    11311131void Mouse::i_sendMouseCapsNotifications(void)
    11321132{
    1133     bool fAbsDev, fRelDev, fMTDev, fCanAbs, fNeedsHostCursor;
     1133    bool fRelDev, fMTDev, fCanAbs, fNeedsHostCursor;
    11341134
    11351135    {
    11361136        AutoReadLock aLock(this COMMA_LOCKVAL_SRC_POS);
    11371137
    1138         i_getDeviceCaps(&fAbsDev, &fRelDev, &fMTDev);
     1138        i_getDeviceCaps(NULL, &fRelDev, &fMTDev);
    11391139        fCanAbs = i_supportsAbs();
    11401140        fNeedsHostCursor = i_guestNeedsHostCursor();
    11411141    }
    1142     if (fAbsDev)
    1143         i_updateVMMDevMouseCaps(VMMDEV_MOUSE_HOST_HAS_ABS_DEV, 0);
    1144     else
    1145         i_updateVMMDevMouseCaps(0, VMMDEV_MOUSE_HOST_HAS_ABS_DEV);
    1146     /** @todo this call takes the Console lock in order to update the cached
    1147      * callback data atomically.  However I can't see any sign that the cached
    1148      * data is ever used again. */
    11491142    mParent->i_onMouseCapabilityChange(fCanAbs, fRelDev, fMTDev, fNeedsHostCursor);
    11501143}
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