VirtualBox

Changeset 84724 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jun 8, 2020 3:00:44 PM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9753: Runtime UI: Machine-view: Properly handle NotifyChange, save effective frame-buffer size, not the passed one.

File:
1 edited

Legend:

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

    r84723 r84724  
    410410#ifdef VBOX_WS_MAC
    411411    /* Update MacOS X dock icon size: */
    412     machineLogic()->updateDockIconSize(screenId(), iWidth, iHeight);
     412    machineLogic()->updateDockIconSize(screenId(), frameBufferSizeNew.width(), frameBufferSizeNew.height());
    413413#endif /* VBOX_WS_MAC */
    414414
     
    429429        && uisession()->isGuestSupportsGraphics()
    430430        && (machine().GetGraphicsAdapter().GetGraphicsControllerType() != KGraphicsControllerType_VMSVGA))
    431         storeGuestSizeHint(QSize(iWidth, iHeight));
     431        storeGuestSizeHint(frameBufferSizeNew);
    432432
    433433    LogRel2(("GUI: UIMachineView::sltHandleNotifyChange: Complete for Screen=%d, Size=%dx%d\n",
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