VirtualBox

Ignore:
Timestamp:
Oct 2, 2015 3:35:41 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: Runtime UI: Scaling: Fixing rounding regression in r102275.

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

    r57591 r58013  
    209209        sltPerformGuestResize(workingArea().size());
    210210        /* And remember the size to know what we are resizing out of when we exit: */
    211         uisession()->setLastFullScreenSize(screenId(), workingArea().size());
     211        uisession()->setLastFullScreenSize(screenId(), scaledForward(scaledBackward(workingArea().size())));
    212212    }
    213213}
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineViewSeamless.cpp

    r57591 r58013  
    217217        sltPerformGuestResize(workingArea().size());
    218218        /* And remember the size to know what we are resizing out of when we exit: */
    219         uisession()->setLastFullScreenSize(screenId(), workingArea().size());
     219        uisession()->setLastFullScreenSize(screenId(), scaledForward(scaledBackward(workingArea().size())));
    220220    }
    221221}
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