VirtualBox

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


Ignore:
Timestamp:
Sep 4, 2012 12:22:16 PM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: Take into account online snapshotting (saving state) in mac
frame-buffer fallback.

File:
1 edited

Legend:

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

    r43076 r43159  
    2323# include "precomp.h"
    2424#else  /* !VBOX_WITH_PRECOMPILED_HEADERS */
    25 /* Global includes */
    26 #include <QApplication>
    27 
    28 #include <iprt/asm.h>
    29 
    30 /* Local includes */
    31 #include "UIFrameBufferQuartz2D.h"
    32 #include "UIMachineView.h"
    33 #include "UIMachineLogic.h"
    34 #include "VBoxUtils.h"
    35 #include "UISession.h"
    36 
     25/* Qt includes: */
     26# include <QApplication>
     27
     28/* GUI includes: */
     29# include "UIFrameBufferQuartz2D.h"
     30# include "UIMachineView.h"
     31# include "UIMachineLogic.h"
     32# include "VBoxUtils.h"
     33# include "UISession.h"
     34
     35/* COM includes: */
     36# include "COMEnums.h"
     37
     38/* Other VBox includes: */
     39# include <iprt/asm.h>
    3740#endif /* !VBOX_WITH_PRECOMPILED_HEADERS */
    3841
     
    162165    if (m_fUsesGuestVRAM &&
    163166        !m_pMachineView->uisession()->isRunning() &&
    164         !m_pMachineView->uisession()->isPaused())
     167        !m_pMachineView->uisession()->isPaused() &&
     168        /* Online snapshotting: */
     169        m_pMachineView->uisession()->machineState() != KMachineState_Saving)
    165170    {
    166171        /* Simulate fallback through fake resize-event: */
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