VirtualBox

Changeset 48688 in vbox


Ignore:
Timestamp:
Sep 25, 2013 4:06:20 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Runtime UI: Comments cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineViewNormal.cpp

    r48644 r48688  
    8080            case QEvent::Resize:
    8181            {
    82                 /* We call this on every resize as:
    83                  *   * Window frame geometry can change on resize.
    84                  *   * On X11 we set information here which becomes available
    85                  *     asynchronously at an unknown time after window
    86                  *     creation.  As long as the information is not available
    87                  *     we make a best guess.
    88                  */
     82                /* Recalculate max guest size: */
     83                setMaxGuestSize();
     84                /* And resize guest to current window size: */
    8985                setMaxGuestSize();
    9086                if (pEvent->spontaneous() && m_bIsGuestAutoresizeEnabled && uisession()->isGuestSupportsGraphics())
     
    249245{
    250246    /* 1) The calculation below is not reliable on some (X11) platforms until we
    251      *    have been visible for a fraction of a second, so so the best we can
     247     *    have been visible for a fraction of a second, so do the best we can
    252248     *    otherwise.
    253249     * 2) We also get called early before "machineWindow" has been fully
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