VirtualBox

Changeset 33758 in vbox for trunk/src/VBox/Frontends/VBoxBFE


Ignore:
Timestamp:
Nov 4, 2010 10:30:19 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67395
Message:

Main, Devices/VMMDev, VBoxBFE: some rewrites of the mouse handling code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBFE/VMMDevInterface.cpp

    r32851 r33758  
    156156 * @thread  The emulation thread.
    157157 */
    158 DECLCALLBACK(void) VMMDev::UpdateMouseCapabilities(PPDMIVMMDEVCONNECTOR pInterface, uint32_t newCapabilities)
     158DECLCALLBACK(void) VMMDev::UpdateMouseCapabilities(PPDMIVMMDEVCONNECTOR pInterface, uint32_t fNewCaps)
    159159{
    160160    /*
     
    163163
    164164    if (gMouse)
    165     {
    166         gMouse->onVMMDevCanAbsChange(!!(newCapabilities & VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE));
    167         gMouse->onVMMDevNeedsHostChange(!!(newCapabilities & VMMDEV_MOUSE_GUEST_NEEDS_HOST_CURSOR));
    168     }
     165        gMouse->onVMMDevGuestCapsChange(fNewCaps & VMMDEV_MOUSE_GUEST_MASK);
    169166    if (gConsole)
    170     {
    171167        gConsole->resetCursor();
    172     }
    173168}
    174169
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