VirtualBox

Changeset 21867 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jul 29, 2009 5:07:59 PM (15 years ago)
Author:
vboxsync
Message:

Additions/x11: re-enable the hardware cursor immediately when switching back from a text console

Location:
trunk/src/VBox/Additions/x11/vboxvideo
Files:
2 edited

Legend:

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

    r21227 r21867  
    141141    if (rc)
    142142    {
     143        if (fFeatures & VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE)
     144            /* Assume this will never be unloaded as long as the X session is
     145             * running. */
     146            pVBox->mouseDriverLoaded = TRUE;
    143147        if (   (fFeatures & VMMDEV_MOUSE_HOST_CANNOT_HWPOINTER)
    144             || !(fFeatures & VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE)
    145             ||!(fFeatures & VMMDEV_MOUSE_HOST_CAN_ABSOLUTE)
     148            || !pVBox->mouseDriverLoaded
     149            || !(fFeatures & VMMDEV_MOUSE_HOST_CAN_ABSOLUTE)
    146150           )
    147151            rc = FALSE;
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.h

    r21227 r21867  
    214214    Bool useDevice;
    215215    Bool forceSWCursor;
     216    /** Do we know that the guest mouse driver was loaded successfully? */
     217    Bool mouseDriverLoaded;
    216218    /** Are we currently switched to a virtual terminal?  If so, it is not
    217219     * safe to touch the hardware. */
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