VirtualBox

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


Ignore:
Timestamp:
Jan 28, 2008 10:01:25 AM (17 years ago)
Author:
vboxsync
Message:
  • Mac OS X: Fading to fullscreen should be done *after* the confirm dialog for fullscreen was shown.
File:
1 edited

Legend:

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

    r6488 r6522  
    19111911bool VBoxConsoleWnd::toggleFullscreenMode (bool aOn, bool aSeamless)
    19121912{
    1913 #ifdef Q_WS_MAC
    1914     if (!aSeamless)
    1915     {
    1916         /* Fade to black */
    1917         CGAcquireDisplayFadeReservation (kCGMaxDisplayReservationInterval, &mFadeToken);
    1918         CGDisplayFade (mFadeToken, 0.3, kCGDisplayBlendNormal, kCGDisplayBlendSolidColor, 0.0, 0.0, 0.0, true);
    1919     }
    1920 #endif
    1921 
    19221913    if (aSeamless)
    19231914    {
     
    19641955            return false;
    19651956    }
     1957
     1958#ifdef Q_WS_MAC
     1959    if (!aSeamless)
     1960    {
     1961        /* Fade to black */
     1962        CGAcquireDisplayFadeReservation (kCGMaxDisplayReservationInterval, &mFadeToken);
     1963        CGDisplayFade (mFadeToken, 0.3, kCGDisplayBlendNormal, kCGDisplayBlendSolidColor, 0.0, 0.0, 0.0, true);
     1964    }
     1965#endif
    19661966
    19671967    if (aSeamless)
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