VirtualBox

Changeset 9043 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 21, 2008 9:45:59 PM (17 years ago)
Author:
vboxsync
Message:

Fixing seamless/fullscreen mode entering/exiting event-order for windows.

File:
1 edited

Legend:

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

    r9036 r9043  
    21982198    }
    21992199
     2200    /* Set flag for waiting host resize if it awaited during mode entering */
     2201    if ((mIsFullscreen || mIsSeamless) && (consoleSize != initialSize))
     2202        mIsWaitingModeResize = true;
     2203
     2204    /* Toggle qt full-screen mode */
     2205    setWindowState (windowState() ^ WindowFullScreen);
     2206
    22002207    /* Process all console attributes changes and sub-widget hidings */
    22012208    qApp->processEvents();
     
    22042211    console->toggleFSMode (consoleSize);
    22052212
    2206     /* Waiting for host resize if it awaited during mode entering/exiting */
    2207     if ((mIsFullscreen || mIsSeamless) && (consoleSize != initialSize))
    2208         mIsWaitingModeResize = true;
    2209 
    22102213    if (!mIsWaitingModeResize)
    22112214        onExitFullscreen();
    2212 
    2213     setWindowState (windowState() ^ WindowFullScreen);
    22142215
    22152216    /* Unlock FS actions locked during modes toggling */
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