VirtualBox

Ignore:
Timestamp:
Nov 18, 2009 11:38:40 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
54986
Message:

Additions/x11/VBoxClient: properly disable seamless mode and deactivating mouse integration if it (/they) is not available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/display.cpp

    r24069 r24776  
    5959    if (RT_SUCCESS(rc))
    6060        rc = VbglR3CtlFilterMask(VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST, 0);
     61    else
     62        VbglR3CtlFilterMask(0, VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST);
    6163    /* Log and ignore the return value, as there is not much we can do with
    6264     * it. */
     
    7880        else
    7981            rc = VERR_NOT_SUPPORTED;
     82    }
     83    if (RT_FAILURE(rc))
     84    {
     85        VbglR3CtlFilterMask(0, VMMDEV_EVENT_MOUSE_CAPABILITIES_CHANGED);
     86        VbglR3SetMouseStatus(  fMouseFeatures
     87                             | VMMDEV_MOUSE_GUEST_NEEDS_HOST_CURSOR);
    8088    }
    8189    LogFlowFunc(("mouse re-capturing support: result %Rrc\n", rc));
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