VirtualBox

Changeset 48689 in vbox


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

FE/Qt: Runtime UI: Make sure maximum allowed guest-size is recalculated on machine-window resize-events (which can be caused by desktop resize for example).

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineViewFullscreen.cpp

    r46361 r48689  
    8383                    break;
    8484
     85                /* Recalculate max guest size: */
     86                setMaxGuestSize();
     87                /* And resize guest to that size: */
    8588                if (m_bIsGuestAutoresizeEnabled && uisession()->isGuestSupportsGraphics())
    8689                    QTimer::singleShot(0, this, SLOT(sltPerformGuestResize()));
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineViewSeamless.cpp

    r46364 r48689  
    8989                    break;
    9090
     91                /* Recalculate max guest size: */
     92                setMaxGuestSize();
     93                /* And resize guest to that size: */
    9194                if (uisession()->isGuestSupportsGraphics())
    9295                    QTimer::singleShot(0, this, SLOT(sltPerformGuestResize()));
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