VirtualBox

Changeset 57494 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 21, 2015 12:10:27 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: Runtime UI: Full-screen/Seamless modes: Resize machine-window and mini-toolbar before moving to appropriate desktop, else WM can kick them back.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime
Files:
2 edited

Legend:

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

    r57483 r57494  
    317317#if   defined(Q_WS_WIN) || defined(Q_WS_X11)
    318318    /* Set appropriate geometry for window: */
     319    resize(workingArea.size());
    319320    move(workingArea.topLeft());
    320     resize(workingArea.size());
    321321
    322322    /* If there is a mini-toolbar: */
     
    324324    {
    325325        /* Set appropriate geometry for mini-toolbar: */
     326        m_pMiniToolBar->resize(workingArea.size());
    326327        m_pMiniToolBar->move(workingArea.topLeft());
    327         m_pMiniToolBar->resize(workingArea.size());
    328328    }
    329329#elif defined(Q_WS_MAC)
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineWindowSeamless.cpp

    r57483 r57494  
    177177
    178178    /* Set appropriate geometry for window: */
     179    resize(workingArea.size());
    179180    move(workingArea.topLeft());
    180     resize(workingArea.size());
    181181
    182182#if defined(Q_WS_WIN) || defined(Q_WS_X11)
     
    185185    {
    186186        /* Set appropriate geometry for mini-toolbar: */
     187        m_pMiniToolBar->resize(workingArea.size());
    187188        m_pMiniToolBar->move(workingArea.topLeft());
    188         m_pMiniToolBar->resize(workingArea.size());
    189189    }
    190190#endif /* Q_WS_WIN || Q_WS_X11 */
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