VirtualBox

Changeset 28241 in vbox


Ignore:
Timestamp:
Apr 13, 2010 10:44:16 AM (15 years ago)
Author:
vboxsync
Message:

FE/QT: remove InvalidateAndUpdate workaround for multimonitor.

File:
1 edited

Legend:

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

    r28215 r28241  
    12741274        case KMachineState_Running:
    12751275        {
    1276             if (m_previousState == KMachineState_Paused || m_previousState == KMachineState_TeleportingPausedVM)
     1276            if (   m_previousState == KMachineState_Paused
     1277                || m_previousState == KMachineState_TeleportingPausedVM
     1278                || m_previousState == KMachineState_Restoring)
    12771279            {
    12781280                if (mode() != VBoxDefs::TimerMode && m_pFrameBuffer)
     
    12841286                    CDisplay dsp = session().GetConsole().GetDisplay();
    12851287                    dsp.InvalidateAndUpdate();
    1286                     /* There seems to be a bug in InvalidateAndUpdate. That is,
    1287                      * only the primary screen get updated. Manually force a
    1288                      * repaint on this screen. */
    1289                     if (screenId() > 0)
    1290                         viewport()->repaint();
    12911288                }
    12921289            }
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