VirtualBox

Changeset 22704 in vbox


Ignore:
Timestamp:
Sep 2, 2009 10:44:27 AM (15 years ago)
Author:
vboxsync
Message:

Devices/VMMDev: new mouse capability flag VMMDEV_MOUSE_HOST_RECHECKS_NEEDS_HOST_CURSOR to say that the host supports the guest disabling VMMDEV_MOUSE_GUEST_NEEDS_HOST_CURSOR again

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VMMDev.h

    r22096 r22704  
    257257/** The guest can read VMMDev events to find out about pointer movement */
    258258#define VMMDEV_MOUSE_GUEST_USES_VMMDEV                      RT_BIT(4)
     259/** If the guest changes the status of the
     260 * VMMDEV_MOUSE_GUEST_NEEDS_HOST_CURSOR bit, the host will honour this */
     261#define VMMDEV_MOUSE_HOST_RECHECKS_NEEDS_HOST_CURSOR        RT_BIT(5)
    259262/** The mask of all VMMDEV_MOUSE_* flags */
    260 #define VMMDEV_MOUSE_MASK                                   UINT32_C(0x0000001f)
     263#define VMMDEV_MOUSE_MASK                                   UINT32_C(0x0000003f)
    261264/** The mask of guest capability changes for which notification events should
    262265 * be sent */
  • trunk/src/VBox/Devices/VMMDev/VMMDev.cpp

    r22480 r22704  
    25002500    pThis->u32HGCMEnabled = 0;
    25012501#endif /* VBOX_WITH_HGCM */
     2502    /* The GUI checks whether this changes in this version of VirtualBox. */
     2503    pThis->mouseCapabilities |= VMMDEV_MOUSE_HOST_RECHECKS_NEEDS_HOST_CURSOR;
    25022504
    25032505    return rc;
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