VirtualBox

Ignore:
Timestamp:
Jul 9, 2008 1:04:47 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33071
Message:

FE/Qt: improved heuristics for automatic maximum guest resolution, second go

File:
1 edited

Legend:

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

    r10395 r10414  
    11081108                emit resizeHintDone();
    11091109
     1110                /* We also recalculate the desktop geometry if this is determined
     1111                 * automatically.  In fact, we only need this on the first resize,
     1112                 * but it is done every time to keep the code simpler. */
     1113                calculateDesktopGeometry();
     1114
    11101115                return true;
    11111116            }
     
    35703575            LogFlowFunc (("Will suggest %d x %d\n", sz.width(), sz.height()));
    35713576
    3572             /* Increase the maximum allowed size to the new size if needed.
    3573              * We also recalculate the desktop geometry if this is determined
    3574              * automatically.  In fact, we only need this on the first resize,
    3575              * but it is done every time to keep the code simpler. */
     3577            /* Increase the maximum allowed size to the new size if needed. */
    35763578            setDesktopGeoHint (sz.width(), sz.height());
    3577             calculateDesktopGeometry();
    35783579
    35793580            mConsole.GetDisplay().SetVideoModeHint (sz.width(), sz.height(), 0, 0);
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