VirtualBox

Changeset 39077 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Oct 21, 2011 1:40:27 PM (13 years ago)
Author:
vboxsync
Message:

FE/Qt: suppress the last temporary resize on exiting fullscreen or seamless.

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

Legend:

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

    r39066 r39077  
    224224        {
    225225            QSize hint = guestSizeHint();
     226            /* Temporarily restrict the size to prevent a brief resize to the
     227             * framebuffer dimensions (see @a UIMachineView::sizeHint()) before
     228             * the following resize() is acted upon. */
     229            setMaximumSize(hint);
    226230            resize(hint);
    227231            sltPerformGuestResize(hint);
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/normal/UIMachineViewNormal.h

    r39023 r39077  
    6565    void prepareConsoleConnections();
    6666    //void loadMachineViewSettings();
     67    /** If the last guest size hint was sent to switch to fullscreen or
     68     * seamless mode then send one to restore the old view size.
     69     * @note This method also does some hacks to suppress intermediary resizes
     70     *        to the old fullscreen size. */
    6771    void maybeResendResizeHint();
    6872
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