VirtualBox

Ignore:
Timestamp:
Mar 25, 2010 9:55:48 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
59284
Message:

GUI: earlier switch to fullscreen (xTracker 4693)

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

Legend:

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

    r27682 r27689  
    26852685void VBoxConsoleView::toggleFSMode (const QSize &aSize)
    26862686{
    2687     if ((mGuestSupportsGraphics && mAutoresizeGuest) ||
     2687    if (mAutoresizeGuest ||
    26882688        mMainWnd->isTrueSeamless() ||
    26892689        mMainWnd->isTrueFullscreen())
     
    40224022void VBoxConsoleView::doResizeHint (const QSize &aToSize)
    40234023{
    4024     if (mGuestSupportsGraphics && mAutoresizeGuest)
     4024    if (mAutoresizeGuest)
    40254025    {
    40264026        /* If this slot is invoked directly then use the passed size
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp

    r27625 r27689  
    17301730    }
    17311731
     1732    bool fFullscreenActivated = false;
     1733    QString str = machine.GetExtraData (VBoxDefs::GUI_Fullscreen);
     1734    if (str == "on")
     1735    {
     1736        mVmFullscreenAction->setChecked (true);
     1737        fFullscreenActivated = true;
     1738    }
     1739
    17321740    /* Start the VM */
    17331741    CProgress progress = vboxGlobal().isStartPausedEnabled() || vboxGlobal().isDebuggerAutoShowEnabled() ?
     
    17911799    /* Currently the machine is started and the guest API could be used...
    17921800     * Checking if the fullscreen mode should be activated */
    1793     QString str = machine.GetExtraData (VBoxDefs::GUI_Fullscreen);
    1794     if (str == "on")
    1795         mVmFullscreenAction->setChecked (true);
     1801    if (fFullscreenActivated)
     1802        mConsole->toggleFSMode (mConsole->size());
    17961803
    17971804    /* If seamless mode should be enabled then check if it is enabled
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