VirtualBox

Ticket #9811: ticket_9811.patch

File ticket_9811.patch, 905 bytes (added by Brian Bourke-Martin, 13 years ago)

Patch to address full screen issue

  • src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineViewFullscreen.cpp

     
    188188QRect UIMachineViewFullscreen::workingArea() const
    189189{
    190190    /* Get corresponding screen: */
    191     int iScreen = static_cast<UIMachineLogicFullscreen*>(machineLogic())->hostScreenForGuestScreen(screenId());
     191    int thisScreen = QApplication::desktop()->screenNumber(this);
     192   
    192193    /* Return available geometry for that screen: */
    193     return QApplication::desktop()->screenGeometry(iScreen);
     194    return QApplication::desktop()->screenGeometry(thisScreen);
    194195}
    195196
    196197QSize UIMachineViewFullscreen::calculateMaxGuestSize() const

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy