VirtualBox

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


Ignore:
Timestamp:
Mar 9, 2010 12:04:26 AM (15 years ago)
Author:
vboxsync
Message:

Main/GuestImpl: IGuest::GetSupportsGraphics() should return FALSE if the Additions are not active

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/GuestImpl.cpp

    r26753 r27190  
    320320    mData.mAdditionsVersion = aVersion;
    321321    mData.mAdditionsActive = !aVersion.isEmpty();
     322    /* Older Additions didn't have this finer grained capability bit,
     323     * so enable it by default.  Newer Additions will disable it immediately
     324     * if relevant. */
     325    mData.mSupportsGraphics = mData.mAdditionsActive;
    322326
    323327    mData.mOSTypeId = Global::OSTypeId (aOsType);
  • trunk/src/VBox/Main/include/GuestImpl.h

    r26295 r27190  
    9090    {
    9191        Data() : mAdditionsActive (FALSE), mSupportsSeamless (FALSE),
    92                   /* Windows and OS/2 guests take this for granted */
    93                  mSupportsGraphics (TRUE) {}
     92                 mSupportsGraphics (FALSE) {}
    9493
    9594        Bstr  mOSTypeId;
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