VirtualBox

Ignore:
Timestamp:
Oct 29, 2013 3:33:56 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
90303
Message:

FE/Qt: Runtime UI: Guest screen adjustment protocol: Make sure GUI do not try to adjust disabled screens.

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

    r49306 r49322  
    143143        (int)frameBuffer()->width() != workingArea().size().width() ||
    144144        (int)frameBuffer()->height() != workingArea().size().height())
    145         if (m_bIsGuestAutoresizeEnabled && uisession()->isGuestSupportsGraphics())
     145        if (m_bIsGuestAutoresizeEnabled &&
     146            uisession()->isGuestSupportsGraphics() &&
     147            uisession()->isScreenVisible(screenId()))
    146148        {
    147149            frameBuffer()->setAutoEnabled(false);
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineViewSeamless.cpp

    r49306 r49322  
    161161        (int)frameBuffer()->width() != workingArea().size().width() ||
    162162        (int)frameBuffer()->height() != workingArea().size().height())
    163         if (uisession()->isGuestSupportsGraphics())
     163        if (uisession()->isGuestSupportsGraphics() &&
     164            uisession()->isScreenVisible(screenId()))
    164165        {
    165166            frameBuffer()->setAutoEnabled(false);
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