VirtualBox

Changeset 27154 in vbox for trunk/src


Ignore:
Timestamp:
Mar 8, 2010 10:41:42 AM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: New running VM core: fullscreen exiting mechanism: forgot to take into account what auto-resize could be turned off or un-available.

File:
1 edited

Legend:

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

    r27150 r27154  
    343343void UIMachineViewFullscreen::cleanupFullscreen()
    344344{
    345     /* Rollback fullscreen frame-buffer size to normal: */
    346     machineWindowWrapper()->machineWindow()->hide();
    347     UIMachineViewBlocker blocker(this);
    348     sltPerformGuestResize(uisession()->guestSizeHint(screenId()));
    349     blocker.exec();
     345    if (m_bIsGuestAutoresizeEnabled && uisession()->isGuestSupportsGraphics())
     346    {
     347        /* Rollback fullscreen frame-buffer size to normal: */
     348        machineWindowWrapper()->machineWindow()->hide();
     349        UIMachineViewBlocker blocker(this);
     350        sltPerformGuestResize(uisession()->guestSizeHint(screenId()));
     351        blocker.exec();
     352    }
    350353}
    351354
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