VirtualBox

Changeset 8784 in vbox for trunk/src


Ignore:
Timestamp:
May 13, 2008 10:00:54 AM (17 years ago)
Author:
vboxsync
Message:

FE/Qt4: Backported r30769 (Full-screen mode fixes: 1. Delayed initialization of full-screen mode during machine startup (it is necessary machine to be started before activating full-screen to access guest API) [Vitali]. 2. Correcting using of SetVideoModeHint? in full-screen mode to use it before additions are loaded but only if guest-auto-resize feature is activated [Dsen].)

Location:
trunk/src/VBox/Frontends/VirtualBox4/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleView.cpp

    r8733 r8784  
    35473547        setDesktopGeometry(sz.width(), sz.height());
    35483548
    3549         if (mIsAdditionsActive && mAutoresizeGuest)
     3549        if (mAutoresizeGuest)
    35503550            mConsole.GetDisplay().SetVideoModeHint (sz.width(), sz.height(), 0, 0);
    35513551    }
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp

    r8741 r8784  
    734734        show();
    735735
    736         str = cmachine.GetExtraData (VBoxDefs::GUI_Fullscreen);
    737         if (str == "on")
    738             vmFullscreenAction->setChecked (true);
    739 
    740736        vmSeamlessAction->setEnabled (false);
    741737        str = cmachine.GetExtraData (VBoxDefs::GUI_Seamless);
     
    949945    }
    950946#endif
     947
     948    /* Currently the machine is started and the guest API could be used...
     949     * Checking if the fullscreen mode should be activated */
     950    QString str = cmachine.GetExtraData (VBoxDefs::GUI_Fullscreen);
     951    if (str == "on")
     952        vmFullscreenAction->setChecked (true);
    951953
    952954    /* If seamless mode should be enabled then check if it is enabled
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