VirtualBox

Changeset 7450 in vbox


Ignore:
Timestamp:
Mar 14, 2008 6:32:02 AM (17 years ago)
Author:
vboxsync
Message:

Frontends/VirtualBox: the saved guest resolution and initial size hint should take guest-initiated resolution changes into account as long as the additions are managing graphics in the guest

File:
1 edited

Legend:

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

    r7368 r7450  
    10921092                    updateGeometry();
    10931093
     1094                /* Remember the new size for sending an initial size hint
     1095                   on next power up. */
     1096                if (mConsole.GetGuest().GetSupportsGraphics())
     1097                    mLastSizeHint = QSize(re->width(), re->height());
     1098
    10941099                /* make sure that all posted signals are processed */
    10951100                qApp->processEvents();
     
    35783583
    35793584        mConsole.GetDisplay().SetVideoModeHint (sz.width(), sz.height(), 0, 0);
    3580         mLastSizeHint = sz;
    35813585    }
    35823586}
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