VirtualBox

Ignore:
Timestamp:
Feb 26, 2014 10:09:47 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92470
Message:

FE/Qt: Mac OS X: 7016: Native fullscreen multi-screen support: More suitable initial size for window(s) which *really* enters fullscreen (same as normal window had).

File:
1 edited

Legend:

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

    r50522 r50597  
    223223    /* Move to the appropriate position: */
    224224    move(workingArea.topLeft());
     225#ifdef Q_WS_MAC
     226    /* Resize to the appropriate size on Lion and previous: */
     227    if (vboxGlobal().osRelease() <= MacOSXRelease_Lion)
     228        resize(workingArea.size());
     229    /* Resize to the appropriate size on ML and next
     230     * only if that screen has no own user-space: */
     231    else if (!darwinScreensHaveSeparateSpaces() && m_uScreenId != 0)
     232        resize(workingArea.size());
     233#else /* !Q_WS_MAC */
    225234    /* Resize to the appropriate size: */
    226235    resize(workingArea.size());
     236#endif /* !Q_WS_MAC */
    227237    /* Adjust guest screen size if necessary: */
    228238    machineView()->maybeAdjustGuestScreenSize();
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette