VirtualBox

Changeset 9043

Show
Ignore:
Timestamp:
05/21/08 23:45:59 (8 months ago)
Author:
vboxsync
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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 */ 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy