VirtualBox

Ignore:
Timestamp:
Jan 5, 2023 11:14:45 AM (2 years ago)
Author:
vboxsync
Message:

FE/Qt: Runtime UI: We should send full-screen/seamless work-area hints interdependently on whether guest currently supports graphics or not.

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

    r97978 r97995  
    165165    }
    166166
    167     /* Step 3: Is guest-additions supports graphics? */
    168     if (fAdjust)
    169     {
    170         if (!uisession()->isGuestSupportsGraphics())
    171         {
    172             LogRel2(("GUI: UIMachineViewFullscreen::adjustGuestScreenSize: Guest-additions are not supporting graphics, adjustment is omitted.\n"));
    173             fAdjust = false;
    174         }
    175     }
    176     /* Step 4: Is guest-screen visible? */
     167    /* Step 3: Is guest-screen visible? */
    177168    if (fAdjust)
    178169    {
     
    183174        }
    184175    }
    185     /* Step 5: Is guest-screen auto-resize enabled? */
     176    /* Step 4: Is guest-screen auto-resize enabled? */
    186177    if (fAdjust)
    187178    {
    188         if (!m_fGuestAutoresizeEnabled)
     179        if (!isGuestAutoresizeEnabled())
    189180        {
    190181            LogRel2(("GUI: UIMachineViewFullscreen::adjustGuestScreenSize: Guest-screen auto-resize is disabled, adjustment is omitted.\n"));
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineViewSeamless.cpp

    r97978 r97995  
    178178    }
    179179
    180     /* Step 3: Is guest-additions supports graphics? */
    181     if (fAdjust)
    182     {
    183         if (!uisession()->isGuestSupportsGraphics())
    184         {
    185             LogRel2(("GUI: UIMachineViewSeamless::adjustGuestScreenSize: Guest-additions are not supporting graphics, adjustment is omitted.\n"));
    186             fAdjust = false;
    187         }
    188     }
    189     /* Step 4: Is guest-screen visible? */
     180    /* Step 3: Is guest-screen visible? */
    190181    if (fAdjust)
    191182    {
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