VirtualBox

Changeset 27420 in vbox


Ignore:
Timestamp:
Mar 16, 2010 5:50:02 PM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4: new core: we have to differ for fullscreen and seamless

File:
1 edited

Legend:

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

    r27419 r27420  
    207207    for (int i = 0; i < m_cGuestScreens; ++ i)
    208208    {
    209         QRect screen = QApplication::desktop()->availableGeometry(pScreenLayout->value(i, 0));
     209        QRect screen;
     210        if (m_pMachineLogic->visualStateType() == UIVisualStateType_Seamless)
     211            screen = QApplication::desktop()->availableGeometry(pScreenLayout->value(i, 0));
     212        else
     213            screen = QApplication::desktop()->screenGeometry(pScreenLayout->value(i, 0));
    210214        usedBits += screen.width() * /* display width */
    211215                    screen.height() * /* display height */
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