VirtualBox

Changeset 8779 in vbox


Ignore:
Timestamp:
May 12, 2008 11:22:21 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
30769
Message:

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/VirtualBox/src
Files:
2 edited

Legend:

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

    r8672 r8779  
    35333533        setDesktopGeometry(sz.width(), sz.height());
    35343534
    3535         if (mIsAdditionsActive && mAutoresizeGuest)
     3535        if (mAutoresizeGuest)
    35363536            mConsole.GetDisplay().SetVideoModeHint (sz.width(), sz.height(), 0, 0);
    35373537    }
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp

    r8628 r8779  
    725725        show();
    726726
    727         str = cmachine.GetExtraData (VBoxDefs::GUI_Fullscreen);
    728         if (str == "on")
    729             vmFullscreenAction->setOn (true);
    730 
    731727        vmSeamlessAction->setEnabled (false);
    732728        str = cmachine.GetExtraData (VBoxDefs::GUI_Seamless);
     
    941937    }
    942938#endif
     939
     940    /* Currently the machine is started and the guest API could be used...
     941     * Checking if the fullscreen mode should be activated */
     942    QString str = cmachine.GetExtraData (VBoxDefs::GUI_Fullscreen);
     943    if (str == "on")
     944        vmFullscreenAction->setOn (true);
    943945
    944946    /* 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